commit | a2c1e3dad516618cb0fbfb1a62c36d0b0744573a | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Sep 14 21:34:14 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Sep 14 16:14:27 2010 -0400 |
tree | 3a5177c062d839e0c93998e2706e45a9fcd1852f | |
parent | 364734fafbba0c3133e482db78149b9a823ae7a5 [diff] |
mac80211: match only assigned bss in sta_info_get_bss sta_info_get_bss() is used to match STA pointers for VLAN/AP interfaces, but if the same station is also added to multiple other interfaces it will erroneously match because both pointers are NULL, fix this by ignoring NULL pointers here. Reported-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>