From: Johannes Berg Date: Thu, 17 Sep 2009 15:35:54 +0000 (-0700) Subject: cfg80211: wext: don't display BSSID unless associated X-Git-Tag: v2.6.32-rc3~63^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33de4f9d787e01646f715ac10c2699fb98fd479e;p=pandora-kernel.git 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: Thomas H. Guenther Signed-off-by: Johannes Berg Tested-by: Thomas H. Guenther Signed-off-by: John W. Linville --- Reading git-diff-tree failed