On Sat, 2008-11-08 at 13:06 +0200, Kalle Valo wrote: > I don't think so. If mac80211 responds with -EINVAL the error would be > something like this: > > $ iwconfig wlan0 power 5m > Error for wireless request "Set Power Management" (8B2C) : > SET failed on device wlan0 ; Operation not permitted. That looks like -EPERM. But then iwconfig always had messed up error handling. > So the error seems to happen happen during argument parsing. Oh yeah, > and I even had a printk in mac80211 and it wasn't printed. Ok I'm convinced then :) > I'm going > to investigate this with gdb and try to understand how iwconfig really > parses the arguments. Well there is source code too ;) johannes
Attachment:
signature.asc
Description: This is a digitally signed message part