summaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorRajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>2018-07-10 15:16:13 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-08-28 11:15:51 +0200
commit7417844b63d4b0dc8ab23f88259bf95de7d09b57 (patch)
treed47ae11319105ccc8aaf8cfb4b37b1c997fae57b /net/mac80211/util.c
parentcfg80211/mac80211: make ieee80211_send_layer2_update a public function (diff)
downloadlinux-7417844b63d4b0dc8ab23f88259bf95de7d09b57.tar.xz
linux-7417844b63d4b0dc8ab23f88259bf95de7d09b57.zip
cfg80211: Avoid regulatory restore when COUNTRY_IE_IGNORE is set
When REGULATORY_COUNTRY_IE_IGNORE is set, __reg_process_hint_country_ie() ignores the country code change request from __cfg80211_connect_result() via regulatory_hint_country_ie(). After Disconnect, similar to above, country code should not be reset to world when country IE ignore is set. But this is violated and restore of regulatory settings is invoked by cfg80211_disconnect_work via regulatory_hint_disconnect(). To address this, avoid regulatory restore from regulatory_hint_disconnect() when COUNTRY_IE_IGNORE is set. Note: Currently, restore_regulatory_settings() takes care of clearing beacon hints. But in the proposed change, regulatory restore is avoided. Therefore, explicitly clear beacon hints when DISABLE_BEACON_HINTS is not set. Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions