From 2bfb48c560b0e84328570b715064d20b5bae3735 Mon Sep 17 00:00:00 2001 From: br1 Date: Tue, 22 Jan 2008 07:11:13 +0000 Subject: [PATCH] frame injection: let IEEE80211_RADIOTAP_DATA_RETRIES specify the number of retries instead of the total number of tries. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3233 0192ed92-7a03-0410-a25b-9323aeb14dbd --- net80211/ieee80211_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net80211/ieee80211_monitor.c b/net80211/ieee80211_monitor.c index 37bfe38..4926b63 100644 --- a/net80211/ieee80211_monitor.c +++ b/net80211/ieee80211_monitor.c @@ -247,7 +247,7 @@ ieee80211_monitor_encap(struct ieee80211vap *vap, struct sk_buff *skb) break; case IEEE80211_RADIOTAP_DATA_RETRIES: - ph->try0 = *p; + ph->try0 = *p + 1; p++; break;