]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: don't check carrier in chanctx code
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 14 Jun 2022 07:16:26 +0000 (10:16 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:20 +0000 (11:43 +0200)
commit04a8c8c0ce3f66ff0d40412020ead14e12a6d1e3
tree663a289066806e2f54c385eabbf9a286c3e5214d
parenta63d7fee91e060a806e5d218f39acf48b2f4a0ba
wifi: mac80211: don't check carrier in chanctx code

We check here that we don't enable TX (netif_carrier_ok())
before we actually start using some channel context, but to
our knowledge this check has never triggered, and with MLO
it's just wrong since links can be added and removed much
more dynamically than before.

Simply remove the checks, there's no really good way to do
anything that would replace them.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c