summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-scan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-08-25 14:34:01 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-08-25 14:34:56 -0400
commit5eb5a52da6ef04604cf8faca43ec670f69f417d3 (patch)
tree4d3397d83cb533ba4fa8dd47b884305c877b01d7 /drivers/net/wireless/iwlwifi/iwl-scan.c
parent45f7e3116fad77e6dd15cb0e2eaccb7de7b806c9 (diff)
mac80211: fix mesh advertisement
When a mac80211-based driver advertises mesh mode support, this will be advertised to userspace. However, if mac80211 was compiled without mesh support, then that won't actually be true. Fix this by removing the bit for mesh if mesh isn't compiled in. Since this synchronizes what we advertise to cfg80211 and actually support, it means we can now rely on cfg80211's interface type checks and need not check again in mac80211. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
0 files changed, 0 insertions, 0 deletions