Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] mac80211: pass no-CCK flag through to HW scan
@ 2011-10-04 13:07 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2011-10-04 13:07 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless

From: Johannes Berg <johannes.berg@intel.com>

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>
---
 net/mac80211/scan.c |    1 +
 1 file changed, 1 insertion(+)

--- a/net/mac80211/scan.c	2011-09-28 17:10:13.000000000 +0200
+++ b/net/mac80211/scan.c	2011-10-04 15:06:01.000000000 +0200
@@ -254,6 +254,7 @@ static bool ieee80211_prep_hw_scan(struc
 					 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;
 }



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-04 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-04 13:07 [PATCH] mac80211: pass no-CCK flag through to HW scan Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox