mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Flush frags for peer on add key request
Fragments are not flushed as part of rekey which could result in fragments encrypted under different keys to be reassembled. Fix is to flush fragments for the peer for which add key request is received. Change-Id: I0c018ff7375272125c62aaea7b8ad4df9e842508 CRs-Fixed: 2875950
This commit is contained in:
parent
d7600941a3
commit
046760890a
1 changed files with 3 additions and 0 deletions
|
|
@ -17787,6 +17787,9 @@ static int __wlan_hdd_cfg80211_add_key(struct wiphy *wiphy,
|
|||
if (pairwise)
|
||||
wma_set_peer_ucast_cipher(mac_address.bytes, cipher);
|
||||
|
||||
cdp_peer_flush_frags(cds_get_context(QDF_MODULE_ID_SOC),
|
||||
wlan_vdev_get_id(vdev), mac_address.bytes);
|
||||
|
||||
switch (adapter->device_mode) {
|
||||
case QDF_SAP_MODE:
|
||||
case QDF_P2P_GO_MODE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue