瀏覽代碼

qcacld-3.0: Add error log in wow periodic pattern handler

WoW periodic transmit pattern handler has no error log if
given input format is wrong. Add error log message to indicate
input is wrong and suggest the correct input format.

Change-Id: Ie3a37c7e1a9b9fd8a974c68a5cc7456b1b622168
CRs-Fixed: 973006
Rajeev Kumar 9 年之前
父節點
當前提交
b08f39cc4c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/hdd/src/wlan_hdd_debugfs.c

+ 1 - 0
core/hdd/src/wlan_hdd_debugfs.c

@@ -502,6 +502,7 @@ static ssize_t __wcnss_patterngen_write(struct file *file,
 	return count;
 
 failure:
+	hdd_err("Invalid input. Input format is: ptrn_idx duration pattern");
 	qdf_mem_free(cmd);
 	return -EINVAL;
 }