drivers: wifi: eswifi: Coverity fix
Fix https://github.com/zephyrproject-rtos/zephyr/issues/27325 unchecked return value Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
This commit is contained in:
parent
74f4891a8f
commit
352e2a7ad4
1 changed files with 5 additions and 1 deletions
|
@ -162,7 +162,11 @@ int __eswifi_off_start_client(struct eswifi_dev *eswifi,
|
|||
|
||||
/* Stop any running client */
|
||||
snprintk(eswifi->buf, sizeof(eswifi->buf), "P6=0\r");
|
||||
eswifi_at_cmd(eswifi, eswifi->buf);
|
||||
err = eswifi_at_cmd(eswifi, eswifi->buf);
|
||||
if (err < 0) {
|
||||
LOG_ERR("Unable to stop running client");
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
/* Set Remote IP */
|
||||
snprintk(eswifi->buf, sizeof(eswifi->buf), "P3=%u.%u.%u.%u\r",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue