mac80211: refactor association
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 23 Dec 2009 12:15:37 +0000 (13:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:54:57 +0000 (16:54 -0500)
commit77c8144ad3ee7fae834e13cb7e83f5b7c8c5329e
treef62aa278669ea2f4db5b93af1f40edb06324bff4
parent7d3a1c3b03c3a571a2c8c393b75558a5f4a7532a
mac80211: refactor association

Refactor the code to reserve an skb of the right size
(instead of hoping 200 bytes are enough forever), and
also put HT IE generation into an own function.

Additionally, put the HT IE before the vendor-specific
WMM IE. This still leaves things not quite ordered
correctly, due to user-specified IEs, add a note about
that for now.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c
net/mac80211/work.c