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)
commitfff712cbe38b6d4e211df9c22aabcfd9739c1c2a
treeb2a8da75d21c45bc00e7cb058165b55c52ceb3b7
parentc1f4c9ede3c799da9f920c1df9ce524145781637
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