mwifiex: send regulatory domain info to firmware only if alpha2 changed
authorBing Zhao <bzhao@marvell.com>
Sat, 14 Dec 2013 02:32:59 +0000 (18:32 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:23:06 +0000 (15:23 -0500)
On cfg80211 regulatory domain change, drivers gets alpha2 country
code or "00" in driver's notification handler.

In most cases, the pattern will be US, 00, US, 00, US, 00, US, ...
There is no need to send domain info to firmware in case of "00" or
with the same alpha2 country code.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found