diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-26 11:53:17 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:18 -0400 |
commit | 628a140ba033ef201706a8c7e767c8a0c0f8326c (patch) | |
tree | 7aae1dbc152bf9180fee3d238f224c2f4b1741b5 /net/mac80211/key.c | |
parent | 640845a5632390eaa9357cd818646c8f0ee3d47e (diff) |
[MAC80211]: remove ALG_NONE
This "algorithm" is used only internally and is not useful.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Michael Buesch <mb@bu3sch.de>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/key.c')
-rw-r--r-- | net/mac80211/key.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/key.c b/net/mac80211/key.c index f13d46b2c13c..0b2328f7d67c 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c | |||
@@ -121,7 +121,6 @@ struct ieee80211_key *ieee80211_key_alloc(struct ieee80211_sub_if_data *sdata, | |||
121 | struct ieee80211_key *key; | 121 | struct ieee80211_key *key; |
122 | 122 | ||
123 | BUG_ON(idx < 0 || idx >= NUM_DEFAULT_KEYS); | 123 | BUG_ON(idx < 0 || idx >= NUM_DEFAULT_KEYS); |
124 | BUG_ON(alg == ALG_NONE); | ||
125 | 124 | ||
126 | key = kzalloc(sizeof(struct ieee80211_key) + key_len, GFP_KERNEL); | 125 | key = kzalloc(sizeof(struct ieee80211_key) + key_len, GFP_KERNEL); |
127 | if (!key) | 126 | if (!key) |