]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68d6d35b5603ed0e57a9e03e45535ecfdfa66823
tree3e66d96368ba197c30139f07e8b7964e176a4b8c
parent32d86db425a16a2f9aa6c188a2dd18cfc51960e1
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