mwifiex: don't follow AP if country code received from EEPROM
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 4 Dec 2015 14:13:05 +0000 (06:13 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2015 11:24:14 +0000 (13:24 +0200)
commit947d315257f9b25b0e24f5706f8184b3b00774d4
tree288a880f16d355c084fc01295fc376f3f455b88b
parent658cb59232b1b853385ded3d4ed587b410457787
mwifiex: don't follow AP if country code received from EEPROM

If device has already received country information from
EEPROM, we won't parse AP's country IE and download it to
firmware. We will also set regulatory flags to disable beacon
hints and ignore country IE.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c
drivers/net/wireless/marvell/mwifiex/sta_ioctl.c