]> git.karo-electronics.de Git - mv-sheeva.git/commit
mwl8k: move ->peer_id from mwl8k_vif to mwl8k_sta
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 4 Jan 2010 20:55:42 +0000 (21:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jan 2010 22:13:27 +0000 (17:13 -0500)
commita680400e8ac32adda81b5e2d7f23dfac63e064fe
tree5f53685641cd7e5bef9f5a54d008c813e1f89daa
parent0a11dfc36604d9b24deda17461b7ea69851846aa
mwl8k: move ->peer_id from mwl8k_vif to mwl8k_sta

For STA firmware, move the per-peer hardware station ID to the
driver-private part of struct ieee80211_sta, where it belongs.

(Since issuing a hardware station database maintenance command sleeps,
we can't hold a reference to the ieee80211_sta * across the command,
and since we won't know the station ID until after the command
completes, we need to re-lookup the sta when the command is done to
write the returned station ID back to its driver-private part.)

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c