]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: ignore invalid BSSIDs when looking for BSSes
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 20:36:50 +0000 (22:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 10 Apr 2014 08:09:18 +0000 (10:09 +0200)
commit42a3494735152e364cede2aa79dde6d4564d62dd
treed60c93156354888bc838ca9eeb9de178a874e71f
parent19f546c54be16a12fc0153bd9f9c38894824964b
cfg80211: ignore invalid BSSIDs when looking for BSSes

When looking for a BSS matching given parameters, ignore invalid
BSSIDs. This avoids, for example, trying to join an IBSS that has
a multicast BSSID, which isn't supported by all drivers nor is it
a valid configuration of the IBSS so better create a new one with
a correctly chosen random BSSID.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c