cfg80211: ignore supported rates for nonexistant bands on scan
authorFelix Fietkau <nbd@openwrt.org>
Wed, 20 Nov 2013 18:40:41 +0000 (19:40 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 15:54:26 +0000 (16:54 +0100)
commit1b09cd82d8c479700ef6185665839d1020b02519
tree6a4996a1c56bce9ff2d34e4c93e13bd03cdbeb76
parent12b5f34d2d5934e998975bbae4e29f81d94052f6
cfg80211: ignore supported rates for nonexistant bands on scan

Fixes wpa_supplicant p2p_find on 5GHz-only devices

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c