|
@@ -112,7 +112,7 @@ static int ieee80211_change_iface(struct wiphy *wiphy, int ifindex,
|
|
}
|
|
}
|
|
|
|
|
|
static int ieee80211_add_key(struct wiphy *wiphy, struct net_device *dev,
|
|
static int ieee80211_add_key(struct wiphy *wiphy, struct net_device *dev,
|
|
- u8 key_idx, u8 *mac_addr,
|
|
|
|
|
|
+ u8 key_idx, const u8 *mac_addr,
|
|
struct key_params *params)
|
|
struct key_params *params)
|
|
{
|
|
{
|
|
struct ieee80211_sub_if_data *sdata;
|
|
struct ieee80211_sub_if_data *sdata;
|
|
@@ -166,7 +166,7 @@ static int ieee80211_add_key(struct wiphy *wiphy, struct net_device *dev,
|
|
}
|
|
}
|
|
|
|
|
|
static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev,
|
|
static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev,
|
|
- u8 key_idx, u8 *mac_addr)
|
|
|
|
|
|
+ u8 key_idx, const u8 *mac_addr)
|
|
{
|
|
{
|
|
struct ieee80211_sub_if_data *sdata;
|
|
struct ieee80211_sub_if_data *sdata;
|
|
struct sta_info *sta;
|
|
struct sta_info *sta;
|
|
@@ -208,7 +208,7 @@ static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev,
|
|
}
|
|
}
|
|
|
|
|
|
static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev,
|
|
static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev,
|
|
- u8 key_idx, u8 *mac_addr, void *cookie,
|
|
|
|
|
|
+ u8 key_idx, const u8 *mac_addr, void *cookie,
|
|
void (*callback)(void *cookie,
|
|
void (*callback)(void *cookie,
|
|
struct key_params *params))
|
|
struct key_params *params))
|
|
{
|
|
{
|