diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-11-16 06:00:37 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 17:09:14 -0500 |
commit | 3b53fde8ac40c4321389def14d7f4a9e14092fd3 (patch) | |
tree | 705a81684a9326764c53fa7a9a85e337f87cb15e /net/mac80211/sta_info.h | |
parent | cb53a150caa3068ce366b75dd354718145f5e893 (diff) |
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>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 4673454176ed..4c84c2205e8c 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -409,8 +409,8 @@ struct sta_info *sta_info_get(struct ieee80211_local *local, const u8 *addr); | |||
409 | /* | 409 | /* |
410 | * Get STA info by index, BROKEN! | 410 | * Get STA info by index, BROKEN! |
411 | */ | 411 | */ |
412 | struct sta_info *sta_info_get_by_idx(struct ieee80211_local *local, int idx, | 412 | struct sta_info *sta_info_get_by_idx(struct ieee80211_sub_if_data *sdata, |
413 | struct net_device *dev); | 413 | int idx); |
414 | /* | 414 | /* |
415 | * Create a new STA info, caller owns returned structure | 415 | * Create a new STA info, caller owns returned structure |
416 | * until sta_info_insert(). | 416 | * until sta_info_insert(). |