qcacld-2.0: Avoid checking for netif queues unpause in Data flow control when in Reassociating state

During re-association, host does not enable the netif queues
and does not reset the pause bit map from Data flow control
if queues are already paused due to lack of enough descriptors
which is not correct and lead to disconnection.

Host has now centralised mechanism to pause/unpause netif queues using bitmap,
so there is no need to keep the netif queues in paused state from
data flow control path.

To fix this, remove the tx queue unpause check when in reassociation
state.

Change-Id: I8484a18dafbe02e06394a05b409256c586f59908
CRs-Fixed: 1104919
This commit is contained in:
Poddar, Siddarth 2016-12-23 12:26:38 +05:30 committed by syphyr
parent e2e7cc4438
commit ed7a63667e
1 changed files with 0 additions and 5 deletions

View File

@ -723,11 +723,6 @@ void hdd_tx_resume_cb(void *adapter_context,
{
vos_timer_stop(&pAdapter->tx_flow_control_timer);
}
if (adf_os_unlikely(hdd_sta_ctx->hdd_ReassocScenario)) {
hddLog(LOGW,
FL("flow control, tx queues un-pause avoided as we are in REASSOCIATING state"));
return;
}
hddLog(LOG1, FL("Enabling queues"));
wlan_hdd_netif_queue_control(pAdapter,
WLAN_WAKE_ALL_NETIF_QUEUE,