瀏覽代碼

qcacld-3.0: Dont create the session from add virt interface

Presently for SAP and p2p go a session is created in the firmware
and umac once the add virtual interface is received. It was
added previously when the session is not supported from the interface
up.

Now driver supports creation of the session from the interface up
for the beaconing entities the legacy code is removed.

Change-Id: Icf6aaac3722cf9292fb1519ba5e0aed74834895f
CRs-Fixed: 2368329
Arun Kumar Khandavalli 6 年之前
父節點
當前提交
2d83ba1300
共有 1 個文件被更改,包括 0 次插入17 次删除
  1. 0 17
      core/hdd/src/wlan_hdd_p2p.c

+ 0 - 17
core/hdd/src/wlan_hdd_p2p.c

@@ -727,19 +727,6 @@ struct wireless_dev *__wlan_hdd_add_virtual_intf(struct wiphy *wiphy,
 		goto close_adapter;
 	}
 
-	/*
-	 * Once the support for session creation/deletion from
-	 * hdd_hostapd_open/hdd_host_stop is in place.
-	 * The support for starting adapter from here can be removed.
-	 */
-	if (mode == QDF_SAP_MODE || mode == QDF_P2P_GO_MODE) {
-		ret = hdd_start_adapter(adapter);
-		if (ret) {
-			hdd_err("Failed to start %s", name);
-			goto stop_modules;
-		}
-	}
-
 	if (hdd_ctx->rps)
 		hdd_send_rps_ind(adapter);
 
@@ -747,10 +734,6 @@ struct wireless_dev *__wlan_hdd_add_virtual_intf(struct wiphy *wiphy,
 
 	return adapter->dev->ieee80211_ptr;
 
-stop_modules:
-	if (!hdd_is_any_interface_open(hdd_ctx))
-		hdd_psoc_idle_timer_start(hdd_ctx);
-
 close_adapter:
 	hdd_close_adapter(hdd_ctx, adapter, true);