]> asedeno.scripts.mit.edu Git - linux.git/commit
cfg80211: don't parse MBSSID if transmitting BSS isn't created
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2019 13:38:22 +0000 (15:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jul 2019 11:31:30 +0000 (13:31 +0200)
commitb0d1d7ffc55571185e626a6ab2983400fc493cc2
tree83a111d94ba9fcc86443ba3f6420052b15c10893
parent84f1772bc0c7bc26db9dbdbeabc4b1fa0ea1ace3
cfg80211: don't parse MBSSID if transmitting BSS isn't created

Don't parse the multi-BSSID structures if we couldn't even create
their transmitting BSS, this would confuse all of our tracking.

This also means that non_tx_data->tx_bss will never be NULL, so
we can clean up a little bit.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Link: https://lore.kernel.org/r/20190703133823.10530-2-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c