[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>
这个提交包含在:
@@ -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];
|
||||
};
|
||||
|
在新工单中引用
屏蔽一个用户