mac80211 : Fixes the status message for iwconfig
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Fri, 23 May 2008 17:15:26 +0000 (10:15 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 May 2008 20:43:46 +0000 (16:43 -0400)
commitd4231ca3e162387a2b6964dacaa83604e065c4e9
treedfb289e314ac7475c778a3ea8d3050d4652c31b1
parent633257d3db547e7553500f05e0aa2692c876d7a5
mac80211 : Fixes the status message for iwconfig

iwconfig was showing incorrect status messages when disassociated.
Patch fixes this by always checking for association status in
ioctl calls for getting ap address.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c