]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: tx: simplify chanctx_conf handling
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Jun 2022 12:25:44 +0000 (14:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:55:41 +0000 (12:55 +0200)
commit48d5a9f431b76f7df9096856623a38aadb3fac91
tree4d3a9825602a4e26cf5470b14ef8a0b08239acdc
parent15601e93a1482c821f7b967c228678b6a48eb604
wifi: mac80211: tx: simplify chanctx_conf handling

In ieee80211_build_hdr() we do the same thing for all
interface types except for AP_VLAN, but we can simplify
the code by pulling the common thing in front of the
switch and overriding it for AP_VLAN. This will also
simplify the code for MLD here later.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c