Luca Coelho <luca@xxxxxxxxx> writes: > From: Ilan Peer <ilan.peer@xxxxxxxxx> > > The function cfg80211_reg_can_beacon_relax() expects wiphy > mutex to be held when it is being called. However, when > reg_leave_invalid_chans() is called the mutex is not held. > Fix it by acquiring the lock before calling the function. > > Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver") > Signed-off-by: Ilan Peer <ilan.peer@xxxxxxxxx> > Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver") Duplicate Fixes tags. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches