]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove bogus skb vif assignment
authorFelix Fietkau <nbd@nbd.name>
Fri, 4 Nov 2016 09:27:53 +0000 (10:27 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Nov 2016 13:37:21 +0000 (14:37 +0100)
commitd9c0d9e4973f7444c889bcf7a7bbe369cda12070
treeb2a8da75d21c45bc00e7cb058165b55c52ceb3b7
parent94af8ab7137dcce1b9b30e04ac264beca33e3365
mac80211: remove bogus skb vif assignment

The call to ieee80211_txq_enqueue overwrites the vif pointer with the
codel enqueue time, so setting it just before that call makes no sense.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c