فهرست منبع

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;
 }