mac80211: use correct channel in TX
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jul 2012 13:12:51 +0000 (15:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 31 Jul 2012 14:18:58 +0000 (16:18 +0200)
commit2d56577bc68e56097a1cd6599b678e8cab758e64
tree5c736bf9b90c6bb3894d4051504baae466b701b0
parent6b77863b719a4e32909c218c0d5a83a14f4d98c5
mac80211: use correct channel in TX

Since we only need the band, remove the channel
pointer from struct ieee80211_tx_data and also
assign it properly, depending on context, to the
correct operating or current channel.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/tx.c