mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Do not update WLAN status to LPASS when disconnect during unload
qcacld-2.0 to qcacld-3.0 propagation Host driver updates WLAN status to LPASS with connected false and WLAN on when disconnection happens. Host driver also updates WLAN status right after driver unload is triggered with connected false and WLAN off. There is a scenario that disconnection callback comes during driver unloading which causes LPASS misbehavior. Fix this by only updating disconnection status to LAPSS when driver is not unloading. Change-Id: Ie72ba094283a64c06e8c74523314d6de92a0f08b CRs-fixed: 928365
This commit is contained in:
parent
4ea4f05710
commit
e3eaebe339
1 changed files with 2 additions and 1 deletions
|
|
@ -1928,7 +1928,8 @@ static int __wlan_hdd_cfg80211_get_station(struct wiphy *wiphy,
|
|||
#ifdef WLAN_FEATURE_LPSS
|
||||
if (!pAdapter->rssi_send) {
|
||||
pAdapter->rssi_send = true;
|
||||
wlan_hdd_send_status_pkg(pAdapter, pHddStaCtx, 1, 1);
|
||||
if (pHddCtx->isUnloadInProgress != true)
|
||||
wlan_hdd_send_status_pkg(pAdapter, pHddStaCtx, 1, 1);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue