[PATCH 2/2] mt76: mt7921: add mt7921_mutex_acquire at mt7921_sta_set_decap_offload

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Jul 25 03:45:06 PDT 2022


Il 24/07/22 10:58, sean.wang at mediatek.com ha scritto:
> From: Sean Wang <sean.wang at mediatek.com>
> 
> Add mt7921_mutex_acquire at mt7921_[start, stop]_ap to fix the race
> with the context holding dev->muxtex and the driver might access the
> device in low power state.
> 
> Fixes: 24299fc869f7 ("mt76: mt7921: enable rx header traslation offload")
> Signed-off-by: Sean Wang <sean.wang at mediatek.com>
> Acked-by: Lorenzo Bianconi <lorenzo at kernel.org>

Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>




More information about the Linux-mediatek mailing list