mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-11 03:28:31 +01:00
fix bug in set_wlan_beacon_type function
This commit is contained in:
parent
28a667612b
commit
2fa4a279b0
1 changed files with 2 additions and 2 deletions
|
|
@ -1704,7 +1704,7 @@ int set_wlan_beacon_type(char *refparam, struct dmctx *ctx, int action, char *va
|
|||
dmuci_set_value_by_section(wlanargs->lwlansection, "wps_pbc", "1");
|
||||
dmfree(gnw);
|
||||
}
|
||||
dmuci_set_value_by_section(wlanargs->lwlansection, "encryption", "value");
|
||||
dmuci_set_value_by_section(wlanargs->lwlansection, "encryption", value);
|
||||
}
|
||||
else if(strcmp(value, "WPAand11i") == 0) {
|
||||
value = "mixed-psk";
|
||||
|
|
@ -1716,7 +1716,7 @@ int set_wlan_beacon_type(char *refparam, struct dmctx *ctx, int action, char *va
|
|||
dmuci_set_value_by_section(wlanargs->lwlansection, "wps_pbc", "1");
|
||||
dmfree(gnw);
|
||||
}
|
||||
dmuci_set_value_by_section(wlanargs->lwlansection, "encryption", "value");
|
||||
dmuci_set_value_by_section(wlanargs->lwlansection, "encryption", value);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue