Skip to content

Commit

Permalink
ieee80211_security: correct warning about width of auth_mode
Browse files Browse the repository at this point in the history
Also remove auth_algo which is unused.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
John W. Linville committed Dec 12, 2008
1 parent 8aa15e1 commit 0f202aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/net/ieee80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 0f202aa

Please sign in to comment.