On Tue, 2008-09-16 at 22:29 +0200, Johannes Berg wrote: > Hi, > > I've just tagged iw version 0.9 (and 0.9.1 after a small build fix) > because I think the tool is now actually usable in a limited way, unlike > before where it would never properly report errors etc. > > Anyone want to pick it up for the various distros? Sorry for diverting the thread, but the current git head (which is tagged as 0.9.1) is broken. $ ./iw Usage: ./iw [options] command Options: --debug enable netlink debugging --version show version Commands: list Segmentation fault (core dumped) Debugging shows: 82 fprintf(stderr, "Commands:\n"); (gdb) Commands: 83 for (cmd = &__start___cmd; cmd < &__stop___cmd; cmd++) { (gdb) p __start___cmd $1 = {section = 0x0, name = 0x403d02 "info", args = 0x0, cmd = NL80211_CMD_GET_WIPHY, nl_msg_flags = 0, idby = CIB_PHY, handler = 0x402403 <handle_info>} (gdb) p *(&__start___cmd + 1) $2 = {section = 0x0, name = 0x0, args = 0x0, cmd = 4209927, nl_msg_flags = 0, idby = CIB_NONE, handler = 0x30000000001} (gdb) That means, __start___cmd points to "info". The next command has no name (and appears to be a complete mess). The clever section trick doesn't seem to work properly. I'm using Fedora 9 x86_64 with all updates. -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html