Hi all, Today's linux-next merge of the mac80211-next tree got a conflict in: net/wireless/reg.c between commit: e08ebd6d7b90 ("cfg80211: Acquire wiphy mutex on regulatory work") from Linus' tree and commit: 701fdfe348f7 ("cfg80211: Enable regulatory enforcement checks for drivers supporting mesh iface") from the mac80211-next tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc net/wireless/reg.c index f8f01a3e020b,58e4b33aff04..000000000000 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@@ -2409,11 -2388,8 +2410,12 @@@ static bool reg_wdev_chan_valid(struct case NL80211_IFTYPE_AP: case NL80211_IFTYPE_P2P_GO: case NL80211_IFTYPE_ADHOC: + case NL80211_IFTYPE_MESH_POINT: - return cfg80211_reg_can_beacon_relax(wiphy, &chandef, iftype); + wiphy_lock(wiphy); + ret = cfg80211_reg_can_beacon_relax(wiphy, &chandef, iftype); + wiphy_unlock(wiphy); + + return ret; case NL80211_IFTYPE_STATION: case NL80211_IFTYPE_P2P_CLIENT: return cfg80211_chandef_usable(wiphy, &chandef,