Merge "qcacld-3.0: Fix warning during SAP SSR deinit" into wlan-cld3.driver.lnx.2.0-dev

这个提交包含在:
Service qcabuildsw
2017-03-27 19:10:05 -07:00
提交者 Gerrit - the friendly Code Review server
当前提交 306f98ca59
修改 2 个文件,包含 9 行新增6 行删除

查看文件

@@ -8486,8 +8486,6 @@ void hdd_sap_indicate_disconnect_for_sta(hdd_adapter_t *adapter)
} }
} }
clear_bit(SOFTAP_BSS_STARTED, &adapter->event_flags);
EXIT(); EXIT();
} }

查看文件

@@ -4056,13 +4056,18 @@ QDF_STATUS hdd_reset_all_adapters(hdd_context_t *hdd_ctx)
wlan_hdd_netif_queue_control(adapter, wlan_hdd_netif_queue_control(adapter,
WLAN_NETIF_TX_DISABLE, WLAN_NETIF_TX_DISABLE,
WLAN_CONTROL_PATH); WLAN_CONTROL_PATH);
hdd_sap_indicate_disconnect_for_sta(adapter); if (test_bit(SOFTAP_BSS_STARTED,
hdd_cleanup_actionframe(hdd_ctx, adapter); &adapter->event_flags)) {
hdd_sap_destroy_events(adapter); hdd_sap_indicate_disconnect_for_sta(adapter);
} else hdd_cleanup_actionframe(hdd_ctx, adapter);
hdd_sap_destroy_events(adapter);
}
clear_bit(SOFTAP_BSS_STARTED, &adapter->event_flags);
} else {
wlan_hdd_netif_queue_control(adapter, wlan_hdd_netif_queue_control(adapter,
WLAN_NETIF_TX_DISABLE_N_CARRIER, WLAN_NETIF_TX_DISABLE_N_CARRIER,
WLAN_CONTROL_PATH); WLAN_CONTROL_PATH);
}
adapter->sessionCtx.station.hdd_ReassocScenario = false; adapter->sessionCtx.station.hdd_ReassocScenario = false;