diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index a28b3f8ef9c2..6ea389060bdd 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -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: