mac80211: move skb info band assignment out
authorJohannes Berg <johannes.berg@intel.com>
Sun, 9 Nov 2014 16:50:09 +0000 (18:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 17:44:35 +0000 (18:44 +0100)
commit73c4e195e6396eea04e11f88dc0336e1bc3c8e66
tree3e66d96368ba197c30139f07e8b7964e176a4b8c
parent1277b4a9f531e84e26f9e0210c1801b0c0bf81ca
mac80211: move skb info band assignment out

Instead of passing the band as a parameter to ieee80211_xmit()
and ieee80211_tx(), move it outside of the two functions while
making sure info->band is set up before calling them.

This removes the parameter and simplifies the follow commit.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/sta_info.c
net/mac80211/tx.c