aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tdls.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/tdls.c')
-rw-r--r--net/mac80211/tdls.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/mac80211/tdls.c b/net/mac80211/tdls.c
index 8e14e2aaea11..652813b2d3df 100644
--- a/net/mac80211/tdls.c
+++ b/net/mac80211/tdls.c
@@ -40,8 +40,8 @@ static u16 ieee80211_get_tdls_sta_capab(struct ieee80211_sub_if_data *sdata)
40 return capab; 40 return capab;
41} 41}
42 42
43static void ieee80211_tdls_add_link_ie(struct sk_buff *skb, u8 *src_addr, 43static void ieee80211_tdls_add_link_ie(struct sk_buff *skb, const u8 *src_addr,
44 u8 *peer, u8 *bssid) 44 const u8 *peer, const u8 *bssid)
45{ 45{
46 struct ieee80211_tdls_lnkie *lnkid; 46 struct ieee80211_tdls_lnkie *lnkid;
47 47
@@ -57,7 +57,7 @@ static void ieee80211_tdls_add_link_ie(struct sk_buff *skb, u8 *src_addr,
57 57
58static int 58static int
59ieee80211_prep_tdls_encap_data(struct wiphy *wiphy, struct net_device *dev, 59ieee80211_prep_tdls_encap_data(struct wiphy *wiphy, struct net_device *dev,
60 u8 *peer, u8 action_code, u8 dialog_token, 60 const u8 *peer, u8 action_code, u8 dialog_token,
61 u16 status_code, struct sk_buff *skb) 61 u16 status_code, struct sk_buff *skb)
62{ 62{
63 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 63 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
@@ -130,7 +130,7 @@ ieee80211_prep_tdls_encap_data(struct wiphy *wiphy, struct net_device *dev,
130 130
131static int 131static int
132ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev, 132ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev,
133 u8 *peer, u8 action_code, u8 dialog_token, 133 const u8 *peer, u8 action_code, u8 dialog_token,
134 u16 status_code, struct sk_buff *skb) 134 u16 status_code, struct sk_buff *skb)
135{ 135{
136 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 136 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
@@ -169,7 +169,7 @@ ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev,
169} 169}
170 170
171int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, 171int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev,
172 u8 *peer, u8 action_code, u8 dialog_token, 172 const u8 *peer, u8 action_code, u8 dialog_token,
173 u16 status_code, u32 peer_capability, 173 u16 status_code, u32 peer_capability,
174 const u8 *extra_ies, size_t extra_ies_len) 174 const u8 *extra_ies, size_t extra_ies_len)
175{ 175{
@@ -285,7 +285,7 @@ fail:
285} 285}
286 286
287int ieee80211_tdls_oper(struct wiphy *wiphy, struct net_device *dev, 287int ieee80211_tdls_oper(struct wiphy *wiphy, struct net_device *dev,
288 u8 *peer, enum nl80211_tdls_operation oper) 288 const u8 *peer, enum nl80211_tdls_operation oper)
289{ 289{
290 struct sta_info *sta; 290 struct sta_info *sta;
291 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 291 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);