Skip to content

mac80211: Fix queuing of scan containing a SSID

Helmut Schaa linux-wireless 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mac80211: Fix queuing of scan containing a SSIDnet/mac80211/ieee80211_i.h net/mac80211/ieee80211_ioctl.c net/mac80211/ieee80211_sta.c+6 -10 replies
2/2mac80211: Remove local->scan_flagsnet/mac80211/ieee80211_i.h net/mac80211/ieee80211_ioctl.c net/mac80211/ieee80211_sta.c+0 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] mac80211: Fix queuing of scan containing a SSID

The first patch fixes scanning for specific ssid's which is broken due to the scan being queued up without respecting the ssid to scan for.

The second patch removes all references to local->scan_flags as these are not used anymore since the removal of prism2 ioctls (see [1]). This is related to the first patch because of the scan flag IEEE80211_SCAN_MATCH_SSID getting removed too.

I'm not sure if it makes sense to only return ssid's matching the one scanned for as it was done when using IEEE80211_SCAN_MATCH_SSID (at least for wpa_supplicant it doesn't matter). Nevertheless the flag can be dropped as we could simply check for local->scan_ssid_len instead.

[1]
http://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git;a=commit;h=51617f0b76389b29740aa9d7736df99b75d1d9ec