aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-18 17:29:21 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:53:00 -0400
commitea49c359f36d5b40bf033c45a08332cb73777aa2 (patch)
tree07d99bbaca451af42d633e63c9c0c20d4f2d6f79 /net
parentf97df02e23269c7650869f6192e809f8ac1a4b39 (diff)
[PATCH] mac80211: remove crypto algorithm typedef
The typedef is not required, we can just use "enum ieee80211_key_alg" instead of "ieee80211_key_alg" Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/ieee80211_key.h2
-rw-r--r--net/mac80211/key.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_key.h b/net/mac80211/ieee80211_key.h
index ae49418f18b4..fc770e98d47b 100644
--- a/net/mac80211/ieee80211_key.h
+++ b/net/mac80211/ieee80211_key.h
@@ -114,7 +114,7 @@ struct ieee80211_key {
114 114
115struct ieee80211_key *ieee80211_key_alloc(struct ieee80211_sub_if_data *sdata, 115struct ieee80211_key *ieee80211_key_alloc(struct ieee80211_sub_if_data *sdata,
116 struct sta_info *sta, 116 struct sta_info *sta,
117 ieee80211_key_alg alg, 117 enum ieee80211_key_alg alg,
118 int idx, 118 int idx,
119 size_t key_len, 119 size_t key_len,
120 const u8 *key_data); 120 const u8 *key_data);
diff --git a/net/mac80211/key.c b/net/mac80211/key.c
index c10e53afbb4f..f13d46b2c13c 100644
--- a/net/mac80211/key.c
+++ b/net/mac80211/key.c
@@ -113,7 +113,7 @@ static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key)
113 113
114struct ieee80211_key *ieee80211_key_alloc(struct ieee80211_sub_if_data *sdata, 114struct ieee80211_key *ieee80211_key_alloc(struct ieee80211_sub_if_data *sdata,
115 struct sta_info *sta, 115 struct sta_info *sta,
116 ieee80211_key_alg alg, 116 enum ieee80211_key_alg alg,
117 int idx, 117 int idx,
118 size_t key_len, 118 size_t key_len,
119 const u8 *key_data) 119 const u8 *key_data)