mac80211: fix mesh_path and sta_info get_by_idx functions
authorLuis Carlos Cobo <luisca@cozybit.com>
Sat, 1 Mar 2008 01:51:25 +0000 (17:51 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Mar 2008 21:40:54 +0000 (16:40 -0500)
commit2a8ca29a88e3858685c463ffd19e11c20d14c73a
tree78a3cd986d5b136d721b88ef7ee3c1c41374e887
parenta00de5d08b4bcd1e95d02667029406224bd0619b
mac80211: fix mesh_path and sta_info get_by_idx functions

Skip properly entries whose dev does not match.

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c
net/mac80211/sta_info.c