Skip to content
Commit 33de4f9d authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

cfg80211: wext: don't display BSSID unless associated



Currently, cfg80211's SIOCGIWAP implementation returns
the BSSID that the user set, even if the connection has
since been dropped due to other changes. It only should
return the current BSSID when actually connected.

Also do a small code cleanup.

Reported-by: default avatarThomas H. Guenther <thomas.h.guenther@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Tested-by: default avatarThomas H. Guenther <thomas.h.guenther@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d1f8297a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment