[PATCH mt76 5/5] wifi: mt76: Remove RCU section in mt7996_mac_sta_rc_work()

Ben Greear greearb at candelatech.com
Thu Jun 5 09:50:54 PDT 2025


On 6/5/25 04:14, Lorenzo Bianconi wrote:
> Since mt7996_mcu_add_rate_ctrl() and mt7996_mcu_set_fixed_field() can't
> run in atomic context, move RCU critical section in
> mt7996_mcu_add_rate_ctrl() and mt7996_mcu_set_fixed_field(). This patch
> fixes a 'sleep while atomic' issue in mt7996_mac_sta_rc_work().
> 
> Fixes: 0762bdd30279 ("wifi: mt76: mt7996: rework mt7996_mac_sta_rc_work to support MLO")
> Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>

Thanks for the quick fix on this, it appears to solve the problems we
saw related to this.

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com





More information about the Linux-mediatek mailing list