]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
cfg80211: check for current_bss from giwrate
authorSamuel Ortiz <samuel.ortiz@intel.com>
Fri, 3 Jul 2009 00:00:48 +0000 (02:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:27 +0000 (15:02 -0400)
commit6c230c02700f9d2aebe6edf9f571835c06707940
tree5cfdd046376e74d32d4c32be1c1ef12ba57dce86
parente47a5cddf893815e7da16e3226b959af785d8aaf
cfg80211: check for current_bss from giwrate

When connecting to an ESSID manually, we may not set the BSSID, and thus
wdev->wext.connect.bssid will be NULL.
wdev->current_bss is always updated when a connection is established so we
should check it first.

Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/wext-compat.c