Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote: > Just because priv->pi_enabled is only one bit doesn't mean it works > like a bool. The value assigned to it loses all bits except bit 0, > so only assign 0 or 1 to it. > > This affects the RTL8188FU, but fixing the assignment didn't make > a difference for my device. > > Fixes: c888183b21f3 ("wifi: rtl8xxxu: Support new chip RTL8188FU") > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 2 patches applied to wireless-next.git, thanks. 9e32b4a709f0 wifi: rtl8xxxu: Fix assignment to bit field priv->pi_enabled 639c26faf9b1 wifi: rtl8xxxu: Fix assignment to bit field priv->cck_agc_report_type -- https://patchwork.kernel.org/project/linux-wireless/patch/4368d585-11ec-d3c7-ec12-7f0afdcedfda@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches