wifi_drv: fix setting 'bssid' in config

The wpa_supplicant refuses to set the BSSID in case it is quoted.
Removing the quotes allows for specifying the BSSID in the
configuration.

Fixes #4175.
This commit is contained in:
Josef Söntgen 2021-05-26 11:33:44 +02:00 committed by Christian Helmuth
parent 3dff399fba
commit 0f72a342f3

View File

@ -955,7 +955,7 @@ struct Wifi::Frontend
char const *bssid = valid ? _processed_ap->bssid.string() : ""; char const *bssid = valid ? _processed_ap->bssid.string() : "";
_submit_cmd(Cmd_str("SET_NETWORK ", _processed_ap->id, _submit_cmd(Cmd_str("SET_NETWORK ", _processed_ap->id,
" bssid \"", bssid, "\"")); " bssid ", bssid));
} }
void _network_set_psk() void _network_set_psk()