net: wireless: bcmdhd: Re-set country code on CSA completion
authorSrinivas Ramachandran <srinivasra@nvidia.com>
Wed, 19 Apr 2017 23:44:56 +0000 (16:44 -0700)
committerManish Tuteja <mtuteja@nvidia.com>
Thu, 20 Apr 2017 18:43:53 +0000 (11:43 -0700)
commit3eee46114fcc3a4974e7b114ee71cca03865d10c
treeec67dcd2ff23f402d0921ea9187b36381ce9f41c
parentd5ac5b2baa1cec30da6f523f4c4d243b6ecb20f7
net: wireless: bcmdhd: Re-set country code on CSA completion

Issue: Sometimes on disconnection from AP due to channel switch
       announcement on DFS channel, firmware channel flags are
       still in stale active state. This leads to active scanning
       on DFS channel without AP connection, which is not permitted.

Fix:   Re-set the current firmware country code, on CSA completion
       event, to restore the channel flag in fw.

Bug 1883430

Change-Id: I7a05b8a7464ac0a0918d7f519e3042b593cf5ba3
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: http://git-master/r/1466175
GVS: Gerrit_Virtual_Submit
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c