summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-30 21:05:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-30 21:05:38 +0000
commit7f92fa405cee6b2657325a4b7554be88b217fb9f (patch)
treeb5966624ff1f423c19300206dff2ac865e2566a0
parent20f2edcce0092203b1d30f59a9ada5385eb7d1f4 (diff)
libs/core: fix type in luci.model.wireless
-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)