libs/core: fix type in luci.model.wireless
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 30 Oct 2009 21:05:38 +0000 (21:05 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 30 Oct 2009 21:05:38 +0000 (21:05 +0000)
libs/core/luasrc/model/wireless.lua

index 1f50c11..ea67060 100644 (file)
@@ -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)