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> 2 patch(es) applied to rtw-next branch of rtw.git, thanks. 00451eb3bec7 wifi: rtw88: Don't use static local variable in rtw8822b_set_tx_power_index_by_rate 0d1d165eff9d wifi: rtw88: Don't use static local variable in rtw8821c_set_tx_power_index_by_rate --- https://github.com/pkshih/rtw.git