瀏覽代碼

qcacld-3.0: Remove P2P device mode when create adapter store/show files

There should only be STA and/or SAP modes for the new sysfs commands.
Remove P2P device mode when creating the store/show files.

Change-Id: Id090dff650466c907468eb530e9e24d96ce4d99d
CRs-Fixed: 2686781
Alan Chen 4 年之前
父節點
當前提交
b049a675ca
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      core/hdd/src/wlan_hdd_sysfs.c

+ 0 - 1
core/hdd/src/wlan_hdd_sysfs.c

@@ -738,7 +738,6 @@ void hdd_create_adapter_sysfs_files(struct hdd_adapter *adapter)
 
 	switch (device_mode){
 	case QDF_STA_MODE:
-	case QDF_P2P_DEVICE_MODE:
 		hdd_sysfs_create_sta_adapter_root_obj(adapter);
 		break;
 	case QDF_SAP_MODE: