mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Drop the pkt if deauth is in progress
When SAP initiates deauth/diassoc for peer device, it sets isDeauthInProgress flag. So, if host receives tx packets for peer from network layer or ipa path while peer remove is in progress, then drop the tx packets at hdd level in __hdd_softap_hard_start_xmit based on above flag check. CRs-Fixed: 2016092 Change-Id: I52c3bcd92478eb657bdd90d15eb13d1cd95ee090
This commit is contained in:
parent
b8a8babc8f
commit
a5075466e4
1 changed files with 7 additions and 0 deletions
|
|
@ -306,6 +306,13 @@ static int __hdd_softap_hard_start_xmit(struct sk_buff *skb,
|
|||
"%s: STA %d is unregistered", __func__,
|
||||
STAId);
|
||||
goto drop_pkt;
|
||||
} else if (true == pAdapter->aStaInfo[STAId].
|
||||
isDeauthInProgress) {
|
||||
QDF_TRACE(QDF_MODULE_ID_HDD_SAP_DATA,
|
||||
QDF_TRACE_LEVEL_WARN,
|
||||
"%s: STA %d deauth in progress", __func__,
|
||||
STAId);
|
||||
goto drop_pkt;
|
||||
}
|
||||
|
||||
if ((OL_TXRX_PEER_STATE_CONN !=
|
||||
|
|
|
|||
Loading…
Reference in a new issue