projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dde8e1
)
mac80211: pass no-CCK flag through to HW scan
author
Johannes Berg
<johannes.berg@intel.com>
Tue, 4 Oct 2011 13:07:33 +0000
(15:07 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 11 Oct 2011 20:41:07 +0000
(16:41 -0400)
This is needed so that offloaded scan can do the
right thing. Without this patch, the no_cck flag
contains random values from the kernel heap.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/scan.c
patch
|
blob
|
history
diff --git
a/net/mac80211/scan.c
b/net/mac80211/scan.c
index
830e60f
..
397343a
100644
(file)
--- a/
net/mac80211/scan.c
+++ b/
net/mac80211/scan.c
@@
-254,6
+254,7
@@
static bool ieee80211_prep_hw_scan(struct ieee80211_local *local)
req->ie, req->ie_len, band,
req->rates[band], 0);
local->hw_scan_req->ie_len = ielen;
+ local->hw_scan_req->no_cck = req->no_cck;
return true;
}