소스 검색

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 년 전
부모
커밋
6c0c0d9f2b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;