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.