From b049a675ca202e0909ca80e5777d244b2b581383 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Thu, 14 May 2020 18:06:36 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_sysfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_sysfs.c b/core/hdd/src/wlan_hdd_sysfs.c index f2400a5f6558..ee17b9716650 100644 --- a/core/hdd/src/wlan_hdd_sysfs.c +++ b/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: