summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/core/luasrc/model/wireless.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/model/wireless.lua b/libs/core/luasrc/model/wireless.lua
index 1f50c11353..ea6706076c 100644
--- a/libs/core/luasrc/model/wireless.lua
+++ b/libs/core/luasrc/model/wireless.lua
@@ -294,7 +294,7 @@ function network.bitrate(self)
end
function network.channel(self)
- return self.winfo and self.winfo.channel(self.wdef)
+ return self.winfo and self.winfo.channel(self.wdev)
end
function network.signal(self)