mac80211: fix ieee80211_find_sta[_by_hw]
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 30 Apr 2010 11:48:36 +0000 (13:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 May 2010 18:51:47 +0000 (14:51 -0400)
Both of these functions can currently return
a station pointer that, to the driver, is
invalid (in IBSS mode only) because adding
the station failed. Check for that, and also
make ieee80211_find_sta() properly use the
per interface station search.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found