mwifiex: set regulatory info from EEPROM
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 4 Dec 2015 14:13:04 +0000 (06:13 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2015 11:24:13 +0000 (13:24 +0200)
commit658cb59232b1b853385ded3d4ed587b410457787
treebd6ca7e2fcc7d0cf2ede52fdd081619efcde4686
parentd2b0c735ebac0f0d9746305b40806693d3092f57
mwifiex: set regulatory info from EEPROM

Driver gets country information from EEPROM during
initialization. We will call regulatory_hint to update
current regulatory domain.
As by default world regulatory domain is selected by
cfg80211, country '00' from EEPROM is ignored.

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/cfp.c
drivers/net/wireless/marvell/mwifiex/main.h