Kaynağa Gözat

qcacld-3.0: Remove hdd_softap_tkip_mic_fail_counter_measure()

Change "qcacld-3.0: Remove obsolete SAP support for SIOCSIWAUTH"
removed the only caller of hdd_softap_tkip_mic_fail_counter_measure().
Since this function is now unused and obsolete, remove it.

Change-Id: If69881bbe922220341faad78bc992aa57d7e2f7c
CRs-Fixed: 2115340
Jeff Johnson 7 yıl önce
ebeveyn
işleme
326a04f9dd
2 değiştirilmiş dosya ile 0 ekleme ve 14 silme
  1. 0 2
      core/hdd/src/wlan_hdd_hostapd.h
  2. 0 12
      core/hdd/src/wlan_hdd_main.c

+ 0 - 2
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,

+ 0 - 12
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