diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/ieee80211_sta.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c index 8a4f2441b59c..3f0a2faf37d4 100644 --- a/net/mac80211/ieee80211_sta.c +++ b/net/mac80211/ieee80211_sta.c | |||
@@ -108,11 +108,10 @@ struct ieee802_11_elems { | |||
108 | u8 wmm_param_len; | 108 | u8 wmm_param_len; |
109 | }; | 109 | }; |
110 | 110 | ||
111 | typedef enum { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 } ParseRes; | 111 | enum ParseRes { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 }; |
112 | 112 | ||
113 | 113 | static enum ParseRes ieee802_11_parse_elems(u8 *start, size_t len, | |
114 | static ParseRes ieee802_11_parse_elems(u8 *start, size_t len, | 114 | struct ieee802_11_elems *elems) |
115 | struct ieee802_11_elems *elems) | ||
116 | { | 115 | { |
117 | size_t left = len; | 116 | size_t left = len; |
118 | u8 *pos = start; | 117 | u8 *pos = start; |