[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>
This commit is contained in:
Johannes Berg
2007-09-18 17:29:21 -04:00
zatwierdzone przez David S. Miller
rodzic f97df02e23
commit ea49c359f3
6 zmienionych plików z 11 dodań i 11 usunięć

Wyświetl plik

@@ -7293,7 +7293,7 @@ out_unlock:
return rc;
}
static int iwl_mac_set_key(struct ieee80211_hw *hw, set_key_cmd cmd,
static int iwl_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
const u8 *local_addr, const u8 *addr,
struct ieee80211_key_conf *key)
{

Wyświetl plik

@@ -7690,7 +7690,7 @@ out_unlock:
return rc;
}
static int iwl_mac_set_key(struct ieee80211_hw *hw, set_key_cmd cmd,
static int iwl_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
const u8 *local_addr, const u8 *addr,
struct ieee80211_key_conf *key)
{

Wyświetl plik

@@ -412,7 +412,7 @@ struct iwl_tid_data {
};
struct iwl_hw_key {
ieee80211_key_alg alg;
enum ieee80211_key_alg alg;
int keylen;
u8 key[32];
};