Skip to contentSkip to conversation

mac80211: pass no-CCK flag through to HW scan

PATCH New Johannes Berg 1 participant 1 message Oct 4, 2011 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 mac80211: pass no-CCK flag through to HW scan

From: Johannes Berg <[email protected]>

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.

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