--- zzzz-none-000/linux-4.9.231/net/mac80211/chan.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5530-730/linux-4.9.231/net/mac80211/chan.c 2022-08-31 08:19:49.000000000 +0000 @@ -1564,7 +1564,8 @@ lockdep_assert_held(&local->mtx); - WARN_ON(sdata->dev && netif_carrier_ok(sdata->dev)); + if (local->use_chanctx) + WARN_ON(sdata->dev && netif_carrier_ok(sdata->dev)); mutex_lock(&local->chanctx_mtx);