Search Linux Wireless

Re: [PATCH 00/12] at76_usb mac80211 port

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

 



On Mon, 2008-02-11 at 00:05 -0500, Pavel Roskin wrote:

> phy5: CMD_JOIN failed: 7<7>wlan3: CTS protection enabled
> (BSSID=00:0b:6b:56:01:bf)
> wlan3: CTS protection disabled (BSSID=00:0b:6b:56:01:bf)
> 
> You forgot end of line in the message (that's patch 05/12).  I'm totally
> at loss why a positive value us printed.

I know why!  Because there is another "CMD_JOIN failed" with the same
missing end of line, which prints the result from a different function
and expects a different result.  7 is CMD_STATUS_TIME_OUT.

Please use different messages for different errors.  In this case,
at76_get_cmd_status_string() should be used for positive ret, so that
you don't print numbers.

-- 
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

[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