drivers: wifi: esp_at: fix missing channel in scan result
WiFi scan results were not updated with information about channel, after
scan results parsing was updated. Fix that.
Fixes: a6b06004c2
("drivers: wifi: esp_at: handle commas in SSIDs during
scan and status")
Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
This commit is contained in:
parent
e41ed3886f
commit
3431d09f09
|
@ -382,6 +382,8 @@ MODEM_CMD_DIRECT_DEFINE(on_cmd_cwlap)
|
|||
return err;
|
||||
}
|
||||
|
||||
res.channel = strtol(channel, NULL, 10);
|
||||
|
||||
if (dev->scan_cb) {
|
||||
dev->scan_cb(dev->net_iface, 0, &res);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue