Search Linux Wireless

Re: iwconfig power timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 8, 2008 at 1:10 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> 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 ;)

There bugs in command parsing in v29 grab v30 beta where this bugs are fixed.
Tomas
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux