Search Linux Wireless

PATCH] mac80211: set no_cck also for hw_scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In case we are using hw_scan we should also
send no_cck information to lower layer.
---
 net/mac80211/scan.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index 6f09eca..509d89e 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -249,6 +249,7 @@ static bool ieee80211_prep_hw_scan(struct
ieee80211_local *local)
 	} while (!n_chans);

 	local->hw_scan_req->n_channels = n_chans;
+	local->hw_scan_req->no_cck = req->no_cck;

 	ielen = ieee80211_build_preq_ies(local, (u8 *)local->hw_scan_req->ie,
 					 req->ie, req->ie_len, band,
-- 
1.7.0.4

Attachment: 0001-mac80211-set-no_cck-also-for-hw_scan.patch
Description: Binary data


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux