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 years ago
parent
commit
dea56deb58
1 changed files with 0 additions and 5 deletions
  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 =
 			ap_ctx->broadcast_sta_id =
 				pSapEvent->sapevt.sapStartBssCompleteEvent.staId;
 				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 */
 			/* @@@ need wep logic here to set privacy bit */
 			qdf_status =
 			qdf_status =
 				hdd_softap_register_bc_sta(adapter,
 				hdd_softap_register_bc_sta(adapter,