[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:

zatwierdzone przez
David S. Miller

rodzic
f97df02e23
commit
ea49c359f3
@@ -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)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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];
|
||||
};
|
||||
|
Reference in New Issue
Block a user