mac80211: don't calculate duration for S1G
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 22 Sep 2020 02:28:11 +0000 (19:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 11:56:28 +0000 (13:56 +0200)
commit89b8c02a35f5c6199f76a839b7a7e450f8185f1b
tree0807b5a8c3d0b2f9a5d45dbb5894ad56f48e81c3
parent05d109576a36fd498e5db2d905eb50c7dd844b83
mac80211: don't calculate duration for S1G

For now just skip the duration calculation for frames
transmitted on the S1G band and avoid a warning.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-11-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c