mac80211: clean up __ieee80211_tx args
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 23 Mar 2009 16:28:38 +0000 (17:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:21 +0000 (20:13 -0400)
commit1870cd71e87da1a1afb904f2c84086f487a07135
tree6763dbc0c21f17f38fbfd93e1e0bd84814c9adcd
parent2a577d98712a284a612dd51d69db5cb989810dc2
mac80211: clean up __ieee80211_tx args

__ieee80211_tx takes a struct ieee80211_tx_data argument, but only
uses a few of its members, namely 'skb' and 'sta'. Make that explicit,
so that less internal knowledge is required in ieee80211_tx_pending
and the possibility of introducing errors here is removed.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c