mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 10:57:47 +00:00
WIFI-2844: Removed the fallback case for when country code isn't set
Signed-off-by: Owen Anderson <owenthomasanderson@gmail.com>
This commit is contained in:
@@ -329,8 +329,6 @@ static bool radio_state_update(struct uci_section *s, struct schema_Wifi_Radio_C
|
||||
|
||||
if (tb[WDEV_ATTR_COUNTRY])
|
||||
SCHEMA_SET_STR(rstate.country, blobmsg_get_string(tb[WDEV_ATTR_COUNTRY]));
|
||||
else
|
||||
SCHEMA_SET_STR(rstate.country, "CA");
|
||||
|
||||
rstate.allowed_channels_len = phy_get_channels(phy, rstate.allowed_channels);
|
||||
rstate.allowed_channels_present = true;
|
||||
|
||||
Reference in New Issue
Block a user