mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 14:43:27 -04:00
qcacld-3.0: send deauth to AP before teardown link
When heartbeat failure happens, the heartbeat handler lim_handle_heart_beat_failure_timeout will tear down the link and not send the deauth frame to peer. Change-Id: Ifdef06d366c305d6c5f975f48356a83a77cf7b2c CRs-Fixed: 2043958
This commit is contained in:
parent
8c51d843fb
commit
e73d1a3b3a
1 changed files with 5 additions and 0 deletions
|
|
@ -5469,6 +5469,11 @@ void lim_handle_heart_beat_failure_timeout(tpAniSirGlobal mac_ctx)
|
|||
(psession_entry->currentBssBeaconCnt == 0))) {
|
||||
pe_debug("for session: %d",
|
||||
psession_entry->peSessionId);
|
||||
|
||||
lim_send_deauth_mgmt_frame(mac_ctx,
|
||||
eSIR_MAC_DISASSOC_DUE_TO_INACTIVITY_REASON,
|
||||
psession_entry->bssId, psession_entry, false);
|
||||
|
||||
/*
|
||||
* AP did not respond to Probe Request.
|
||||
* Tear down link with it.
|
||||
|
|
|
|||
Loading…
Reference in a new issue