mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
clear radio array before repopulating it
This commit is contained in:
parent
577dca4304
commit
3c080c7c24
1 changed files with 1 additions and 0 deletions
|
|
@ -282,6 +282,7 @@ load_wireless()
|
|||
int vif1 = 0;
|
||||
|
||||
memset(wireless, '\0', sizeof(wireless));
|
||||
memset(radio, '\0', sizeof(radio));
|
||||
|
||||
if((uci_wireless = init_package("wireless"))) {
|
||||
uci_foreach_element(&uci_wireless->sections, e) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue