]> 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)
commit2b5d1c1c30b7c135d6daf8cfb891a11f12c570b0
tree4d3a9825602a4e26cf5470b14ef8a0b08239acdc
parent40867ece4d63a128578c0971e8158ff66f4f26ba
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