提交 0f202aa2 编写于 作者: J John W. Linville

ieee80211_security: correct warning about width of auth_mode

Also remove auth_algo which is unused.
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 8aa15e15
...@@ -385,9 +385,8 @@ struct ieee80211_device; ...@@ -385,9 +385,8 @@ struct ieee80211_device;
#define SCM_TEMPORAL_KEY_LENGTH 16 #define SCM_TEMPORAL_KEY_LENGTH 16
struct ieee80211_security { struct ieee80211_security {
u16 active_key:2, u16 active_key:2, enabled:1, unicast_uses_group:1, encrypt:1;
enabled:1, u8 auth_mode;
auth_mode:2, auth_algo:4, unicast_uses_group:1, encrypt:1;
u8 encode_alg[WEP_KEYS]; u8 encode_alg[WEP_KEYS];
u8 key_sizes[WEP_KEYS]; u8 key_sizes[WEP_KEYS];
u8 keys[WEP_KEYS][SCM_KEY_LEN]; u8 keys[WEP_KEYS][SCM_KEY_LEN];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册