have a look at this:
root@OpenWrt:~# iwpriv ath1 mode 11g
root@OpemWrt:~# iwpriv ath1 mode 11b
Interface doesn't accept private ioctl...
mode (8BE2): Invalid argument
my setup:
base-files-adm5120 - 12-r10522
kmod-madwifi - 2.6.24.2+r3314-adm5120-1
what gives??