mac80211: Don't access managed mode bits in non-managed mode
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Fri, 27 Mar 2009 07:38:45 +0000 (13:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:27 +0000 (16:54 -0400)
commitb0741a1a2b00d9b4d88ba60016c88e42f176e4d6
treeed047544a7caa10195ac144b00e87fb552c4609c
parent9f201a87831af9458df1eda65941c955f2da87ed
mac80211: Don't access managed mode bits in non-managed mode

This fixes a stupid bug introduced in 25f85c31d4f..

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c