Browse Source

qcacld-3.0: Remove redundant tx flow control register in sap event cb

Remove the redundant tx flow control register in sap event cb, which has
been registered already when adapter started.

Change-Id: Ia48249ed6b6de0a1af642d920f9589c600015ed3
CRs-Fixed: 2239832
Tiger Yu 7 năm trước cách đây
mục cha
commit
dea56deb58
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      core/hdd/src/wlan_hdd_hostapd.c

+ 0 - 5
core/hdd/src/wlan_hdd_hostapd.c

@@ -1680,11 +1680,6 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
 			ap_ctx->broadcast_sta_id =
 				pSapEvent->sapevt.sapStartBssCompleteEvent.staId;
 
-			hdd_register_tx_flow_control(adapter,
-				hdd_softap_tx_resume_timer_expired_handler,
-				hdd_softap_tx_resume_cb,
-				hdd_tx_flow_control_is_pause);
-
 			/* @@@ need wep logic here to set privacy bit */
 			qdf_status =
 				hdd_softap_register_bc_sta(adapter,