summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2008-12-08 14:51:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-12-12 13:48:30 -0500
commit0f202aa2e1e1db1d20da9bcc3f5ad43c5a22d2d5 (patch)
treefb125a7aa26de707a24c243f3032024cab4eb147 /include/net
parent8aa15e1506bb0b6b643be12baf1f2d4d2f115931 (diff)
downloadblackbird-op-linux-0f202aa2e1e1db1d20da9bcc3f5ad43c5a22d2d5.tar.gz
blackbird-op-linux-0f202aa2e1e1db1d20da9bcc3f5ad43c5a22d2d5.zip
ieee80211_security: correct warning about width of auth_mode
Also remove auth_algo which is unused. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ieee80211.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h
index 7ab3ed2bbccb..adb7cf31f781 100644
--- a/include/net/ieee80211.h
+++ b/include/net/ieee80211.h
@@ -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];
OpenPOWER on IntegriCloud