mac80211: let sta_info_get_by_idx get sta by sdata
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 16 Nov 2009 11:00:37 +0000 (12:00 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:14 +0000 (17:09 -0500)
commit3b53fde8ac40c4321389def14d7f4a9e14092fd3
tree705a81684a9326764c53fa7a9a85e337f87cb15e
parentcb53a150caa3068ce366b75dd354718145f5e893
mac80211: let sta_info_get_by_idx get sta by sdata

Instead of filtering by device, directly look up by sdata.

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