]> 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)
commit21ef5fc7d5afaa128282d4d1193a747c2408dbe7
tree663a289066806e2f54c385eabbf9a286c3e5214d
parentbb5c04a391a99b371fb10d9407522023aebd73bb
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