drivers: wifi: esp_at: don't send AT+CWLAP during initial setup
Sending AT+CWLAP was introduced with commit f2859f9501
("drivers:
wifi: esp_at: changes to scanning") as a way to easily test introduced
changes, rather than on purpose. Remove that now, as there is no
particular reason to send it and additionally it breaks setup phase:
<err> modem_cmd_handler: command AT+CWLAP ret:-5
<err> wifi_esp_at: Init failed -5
with ESP-AT firmware v2.1.
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
This commit is contained in:
parent
2623315802
commit
54a785b886
1 changed files with 0 additions and 1 deletions
|
@ -949,7 +949,6 @@ static void esp_init_work(struct k_work *work)
|
|||
|
||||
SETUP_CMD_NOHANDLE(
|
||||
ESP_CMD_CWLAPOPT(ESP_CMD_CWLAPOPT_ORDERED, ESP_CMD_CWLAPOPT_MASK)),
|
||||
SETUP_CMD_NOHANDLE(ESP_CMD_CWLAP),
|
||||
|
||||
#if defined(CONFIG_WIFI_ESP_AT_VERSION_2_0)
|
||||
SETUP_CMD_NOHANDLE(ESP_CMD_CWMODE(STA)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue