aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 4e627cf2b8c1..be86e159e6ef 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -112,7 +112,7 @@ static int ieee80211_change_iface(struct wiphy *wiphy, int ifindex,
112} 112}
113 113
114static int ieee80211_add_key(struct wiphy *wiphy, struct net_device *dev, 114static int ieee80211_add_key(struct wiphy *wiphy, struct net_device *dev,
115 u8 key_idx, u8 *mac_addr, 115 u8 key_idx, const u8 *mac_addr,
116 struct key_params *params) 116 struct key_params *params)
117{ 117{
118 struct ieee80211_sub_if_data *sdata; 118 struct ieee80211_sub_if_data *sdata;
@@ -166,7 +166,7 @@ static int ieee80211_add_key(struct wiphy *wiphy, struct net_device *dev,
166} 166}
167 167
168static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev, 168static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev,
169 u8 key_idx, u8 *mac_addr) 169 u8 key_idx, const u8 *mac_addr)
170{ 170{
171 struct ieee80211_sub_if_data *sdata; 171 struct ieee80211_sub_if_data *sdata;
172 struct sta_info *sta; 172 struct sta_info *sta;
@@ -208,7 +208,7 @@ static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev,
208} 208}
209 209
210static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev, 210static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev,
211 u8 key_idx, u8 *mac_addr, void *cookie, 211 u8 key_idx, const u8 *mac_addr, void *cookie,
212 void (*callback)(void *cookie, 212 void (*callback)(void *cookie,
213 struct key_params *params)) 213 struct key_params *params))
214{ 214{