ieee80211_security: correct warning about width of auth_mode
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Dec 2008 19:51:41 +0000 (14:51 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 18:48:30 +0000 (13:48 -0500)
Also remove auth_algo which is unused.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/ieee80211.h

index 7ab3ed2bbccbfd51a25a898289fb93ebadf12d24..adb7cf31f781f48cd564df727400f173b8e93d66 100644 (file)
@@ -385,9 +385,8 @@ struct ieee80211_device;
 #define SCM_TEMPORAL_KEY_LENGTH        16
 
 struct ieee80211_security {
-       u16 active_key:2,
-           enabled:1,
-           auth_mode:2, auth_algo:4, unicast_uses_group:1, encrypt:1;
+       u16 active_key:2, enabled:1, unicast_uses_group:1, encrypt:1;
+       u8 auth_mode;
        u8 encode_alg[WEP_KEYS];
        u8 key_sizes[WEP_KEYS];
        u8 keys[WEP_KEYS][SCM_KEY_LEN];