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 1f50c11353c2a693fdf3cc944a301a40a617fbb1..ea6706076ccc37c26e16b3a4fecb060f3628c7a8 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)