aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/ap.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-01 13:20:03 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-02-04 12:57:41 -0500
commit4593c4cbe1c96b3995727dc42f6aa103f4ff5afc (patch)
treebead4ef70dd54b804d560fa1968f05c89917bb6e /net/wireless/ap.c
parent5622f5bb8dd3cafe0e56014ed03e31957d1b4a03 (diff)
cfg80211: fix BSS list hidden SSID lookup
When trying to find a hidden SSID, the lookup function is done wrong; the code is trying to combine the two lookups into one, and as a consequence doesn't always find the entry at all. To understand this, consider a case where multiple BSS entries with the same channel and BSSID exist but have different SSID length. Then comparing against the probe response SSID length is bound to cause problems since the hidden one might be either zeroed out or zero-length. To fix this we need to do two lookups for the two ways to hide SSIDs. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/ap.c')
0 files changed, 0 insertions, 0 deletions