mac80211: move store skb ack code to its own function
authorJohn Crispin <john@phrozen.org>
Tue, 29 Oct 2019 09:13:02 +0000 (10:13 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 8 Nov 2019 09:18:13 +0000 (10:18 +0100)
commit5d8983c8c3b5d7ec3326c75814e77fe167911676
treea9e63f76707a26896ad46723a5edb9b161f2f8f1
parent7d13cf1e1d5300e9e0fd5ef110b5abe3854ea90b
mac80211: move store skb ack code to its own function

This patch moves the code handling SKBTX_WIFI_STATUS inside the TX path
into an extra function. This allows us to reuse it inside the 802.11 encap
offloading datapath.

Signed-off-by: John Crispin <john@phrozen.org>
Link: https://lore.kernel.org/r/20191029091304.7330-2-john@phrozen.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c