qcacld-3.0: Reset unloading in progress on driver remove

When platform driver initiates wlan driver remove, driver state
is set to unloading but it is not cleared on successful driver
remove, leading unload bit to be set forever and thereby host
returns failure for all north bound requests, though driver is
loaded successfully after this scenario.

After wlan driver is removed, clear the driver unload bit, so
that on next successful driver load, host can process north
bound requests.

Change-Id: I600705b340a824bcaa524e2ed981ad35943fb5cd
CRs-Fixed: 1113037
This commit is contained in:
Hanumanth Reddy Pothula 2017-01-18 18:19:08 +05:30 • committed by snandini
commit fc70ea378a

View file

@ -420,6 +420,8 @@ static void wlan_hdd_remove(struct device *dev)
__hdd_wlan_exit();
}
cds_set_unload_in_progress(false);
pr_info("%s: Driver De-initialized\n", WLAN_MODULE_NAME);
}