wlan: Reset linux_reg_cc upon driver unload
In static WLAN driver, static variable linux_reg_cc is not reset during
driver unload. After driver reload, default country and
linux_reg_cc country remains the same and driver does not send the
regulatory_hint to kernel. This causes kernel and driver regulatory
info to go out of sync and further attemps to set a regdomain fails.
For STRICT regulatory, Kernel will not send the linux reg notifier
unless it gets the regulatory hint from driver.
Thus, reset linux_reg_cc upon driver unload.
Change-Id: I9ae7a2f85ee3bce3a435bb689d9c9d727874e28e
CRs-fixed: 1032062
1 file changed