diff --git a/core/hdd/src/wlan_hdd_hostapd.h b/core/hdd/src/wlan_hdd_hostapd.h index 541c71ad18375..603496665800b 100644 --- a/core/hdd/src/wlan_hdd_hostapd.h +++ b/core/hdd/src/wlan_hdd_hostapd.h @@ -115,8 +115,6 @@ QDF_STATUS hdd_softap_sta_deauth(struct hdd_adapter *adapter, struct tagCsrDelStaParams *pDelStaParams); void hdd_softap_sta_disassoc(struct hdd_adapter *adapter, struct tagCsrDelStaParams *pDelStaParams); -void hdd_softap_tkip_mic_fail_counter_measure(struct hdd_adapter *adapter, - bool enable); int hdd_softap_unpack_ie(tHalHandle halHandle, eCsrEncryptionType *pEncryptType, eCsrEncryptionType *mcEncryptType, diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index ee520f5f100bf..fa34fb48789a3 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -10187,18 +10187,6 @@ void hdd_softap_sta_disassoc(struct hdd_adapter *adapter, pDelStaParams); } -void hdd_softap_tkip_mic_fail_counter_measure(struct hdd_adapter *adapter, - bool enable) -{ - ENTER(); - - hdd_debug("hdd_softap_tkip_mic_fail_counter_measure:(%pK, false)", - (WLAN_HDD_GET_CTX(adapter))->pcds_context); - - wlansap_set_counter_measure(WLAN_HDD_GET_SAP_CTX_PTR(adapter), - (bool) enable); -} - /** * hdd_issta_p2p_clientconnected() - check if sta or p2p client is connected * @hdd_ctx: HDD Context