From: Johannes Berg Date: Tue, 14 Sep 2010 19:34:14 +0000 (+0200) Subject: mac80211: match only assigned bss in sta_info_get_bss X-Git-Tag: v2.6.37-rc1~147^2~373^2^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2c1e3dad516618cb0fbfb1a62c36d0b0744573a;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed