Sfoglia il codice sorgente

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 anni fa
parent
commit
b049a675ca
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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: