|
@@ -3735,12 +3735,6 @@ hdd_adapter_t *hdd_open_adapter(hdd_context_t *hdd_ctx, uint8_t session_type,
|
|
|
policy_mgr_set_concurrency_mode(hdd_ctx->hdd_psoc,
|
|
|
session_type);
|
|
|
|
|
|
- /* Initialize the WoWL service */
|
|
|
- if (!hdd_init_wowl(adapter)) {
|
|
|
- hdd_err("hdd_init_wowl failed");
|
|
|
- goto err_close_adapter;
|
|
|
- }
|
|
|
-
|
|
|
/* Adapter successfully added. Increment the vdev count */
|
|
|
hdd_ctx->current_intf_count++;
|
|
|
|
|
@@ -3755,8 +3749,6 @@ hdd_adapter_t *hdd_open_adapter(hdd_context_t *hdd_ctx, uint8_t session_type,
|
|
|
|
|
|
return adapter;
|
|
|
|
|
|
-err_close_adapter:
|
|
|
- hdd_close_adapter(hdd_ctx, adapter, rtnl_held);
|
|
|
err_free_netdev:
|
|
|
wlan_hdd_release_intf_addr(hdd_ctx, adapter->macAddressCurrent.bytes);
|
|
|
free_netdev(adapter->dev);
|
|
@@ -10213,6 +10205,7 @@ err_out:
|
|
|
*/
|
|
|
void hdd_deinit(void)
|
|
|
{
|
|
|
+ hdd_deinit_wowl();
|
|
|
cds_deinit();
|
|
|
|
|
|
#ifdef WLAN_LOGGING_SOCK_SVC_ENABLE
|