Bläddra i källkod

qcacld-3.0: Change the name of the sysfs path

Use string "wifi" instead of "wlan" in sysfs path for version string.
This is to avoid warning for same string name in the path.

Change-Id: Ifadabdb3e89d9a6564bbda58241f3ff38eeb4eb1
CRs-Fixed: 2153885
Amar Singhal 7 år sedan
förälder
incheckning
6c0c0d9f2b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      core/hdd/src/wlan_hdd_sysfs.c

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

@@ -120,7 +120,7 @@ void hdd_sysfs_create_version_interface(struct wlan_objmgr_psoc *psoc)
 	uint32_t psoc_id;
 	char buf[MAX_PSOC_ID_SIZE];
 
-	wlan_kobject = kobject_create_and_add("wlan", kernel_kobj);
+	wlan_kobject = kobject_create_and_add("wifi", kernel_kobj);
 	if (!wlan_kobject) {
 		hdd_err("could not allocate wlan kobject");
 		return;