#17256: iwinfo scanlist does not work.
-------------------------+-------------------------------------
Reporter: yousong | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Barrier Breaker (trunk)
Component: base system | Version: Trunk
Keywords: |
-------------------------+-------------------------------------
Below is a session with `iwinfo.so` with Lua interpreter.
{{{
root@OpenWrt:/# lua
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio (double int32)
> require "iwinfo"
iw = iwinfo["nl80211"]
sl = iw.scanlist("wlan0")
> > Segmentation fault
root@OpenWrt:/#
}}}
Below is part of the endless output of iwinfo command line tool.
{{{
root@OpenWrt:/# iwinfo wlan0 scan | head -n 40
Cell 01 - Address: 00:00:00:00:00:00
ESSID: unknown
Mode: Unknown Channel: unknown
Signal: -256 dBm Quality: 0/0
Encryption: none
Cell 02 - Address: 00:00:00:00:00:00
ESSID: unknown
Mode: Unknown Channel: unknown
Signal: -256 dBm Quality: 0/0
Encryption: none
Cell 03 - Address: 00:00:00:00:00:00
ESSID: unknown
Mode: Unknown Channel: unknown
Signal: -256 dBm Quality: 0/0
Encryption: none
Cell 04 - Address: 00:00:00:00:00:00
ESSID: unknown
Mode: Unknown Channel: unknown
Signal: -256 dBm Quality: 0/0
...ENDLESS...
}}}
And the `Scan` function in the LuCI wireless section also did not work.
--
Ticket URL: <https://dev.openwrt.org/ticket/17256>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets