Search Linux Wireless

Re: [ath5k-devel] [PATCH 1/1] ath5k: fix hw rate index condition

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

 



On 27.2.2009 00:28, Bob Copeland wrote:
hw_to_driver_rix() returns sc->rate_idx[x][y] as an int, and that
array is initialized to (u8)-1 for invalid rates.  So, it can
return 255 if the hardware rate index (y) is bad, then the check
"rxs.rate_idx>= 0" would always be true, right?  If it's not a
real bug yet, it likely will be one day :)

Ah, yes, it really is a bug(tm), care to post a fix?
--
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