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
This commit is contained in:
Alan Chen 2020-05-14 18:06:36 -07:00 • committed by nshrivas
commit b049a675ca

View file

@ -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: