diff options
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua index ff63c2626..5b646d9a3 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua @@ -145,7 +145,7 @@ function newnet.parse(self, section) wconf.encryption = "none" end - if wconf.mode == "adhoc" then + if wconf.mode == "adhoc" or wconf.mode == "sta" then wconf.bssid = m.hidden.bssid end |