mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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
This commit is contained in:
parent
dca5f81346
commit
b08f39cc4c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue