summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-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 1f50c1135..ea6706076 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)