Skip to content

Commit

Permalink
net/wireless: SanCloud wifi: issue when associating with an SSID when…
Browse files Browse the repository at this point in the history
… there is also a hidden SSID in the scan list

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Apr 22, 2016
1 parent 59a854a commit 131533a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/wireless/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ static bool is_bss(struct cfg80211_bss *a, const u8 *bssid,
if (bssid && !ether_addr_equal(a->bssid, bssid))
return false;

if (!ssid)
if ( (!ssid) || (!ssid_len) )
return true;

ies = rcu_access_pointer(a->ies);
Expand Down

0 comments on commit 131533a

Please sign in to comment.