Skip to content

Commit ff5adb0

Browse files
committed
confd: wifi: Fix typo when enable Wi-Fi 6
The node name was incorrect
1 parent 0bb6177 commit ff5adb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confd/src/hardware.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ static int wifi_gen_aps_on_radio(const char *radio_name, struct lyd_node *cifs,
459459
country = lydx_get_cattr(radio_node, "country-code");
460460
band = lydx_get_cattr(radio_node, "band");
461461
channel = lydx_get_cattr(radio_node, "channel");
462-
wifi6_enabled = lydx_get_bool(radio_node, "enable_wifi6");
462+
wifi6_enabled = lydx_get_bool(radio_node, "enable-wifi6");
463463

464464
/* Get secret from keystore if not open network */
465465
if (secret_name && strcmp(security_mode, "open") != 0) {

0 commit comments

Comments
 (0)