Search Linux Wireless

Re: [PATCH v2 2/2] mac80211: initialize last_rate for S1G STAs

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

 



On Mon, 2020-10-05 at 09:45 -0700, Thomas Pedersen wrote:
> last_rate is initialized to zero by sta_info_alloc(), but
> this indicates legacy bitrate for the last TX rate (and
> invalid for the last RX rate). To avoid a warning when
> decoding the last rate as legacy (before a data frame
> has been sent), initialize them as S1G MCS.

Oh, I see, this fixes the warning ...

OK, never mind, I'll just apply both.

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux