Search Linux Wireless

Re: [PATCH 1/2] wifi: rtw88: Don't use static local variable in rtw8822b_set_tx_power_index_by_rate

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

 



On 27/01/2025 08:03, Ping-Ke Shih wrote:
> Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote:
>>
>> Some users want to plug two identical USB devices at the same time.
>> This static variable could theoretically cause them to use incorrect
>> TX power values.
>>
>> Move the variable to the caller and pass a pointer to it to
>> rtw8822b_set_tx_power_index_by_rate().
>>
>> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx>
> 
> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
> 
> By the way, if you interest to cleanup rtw88 and avoid this kind of limits,
> we can check symbols of output of "objdump -t *.o | grep "\.data". 
> Patches are welcome. 
> 

I see some tables that should be const. I will send a patch.




[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