commit | dd4a9ac05c8e17f40427878f379123263333bcd7 | [log] [tgz] |
---|---|---|
author | Bing Zhao <bzhao@marvell.com> | Fri Dec 13 18:32:59 2013 -0800 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Dec 18 15:23:06 2013 -0500 |
tree | 4c8a2e83b47a4d3a56a7844705d0d774f08d9976 | |
parent | 935d00ccf7321d704a1bf8e982dd6934165c1327 [diff] |
mwifiex: send regulatory domain info to firmware only if alpha2 changed 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>