modules/admin-full: make wifi enabling/disabling more reliable
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
a7b44a1b4b
commit
ef444d511d
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ You may obtain a copy of the License at
|
|||
toggle.title = '<%:Activate this network%>';
|
||||
}
|
||||
|
||||
toggle.setAttribute('active', is_assoc);
|
||||
toggle.setAttribute('active', !iw.disabled);
|
||||
}
|
||||
|
||||
var info = document.getElementById(iw.id + '-iw-status');
|
||||
|
|
Loading…
Reference in a new issue