diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 11:19:31 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 11:34:42 -0400 |
commit | 3b3a0162fade6b83d5c83efafcd5adb9e4537047 (patch) | |
tree | 072fafe0ab7e1f93debdd466302bcda6ae5dfdb3 /drivers/net/wireless/brcm80211 | |
parent | 8d77ec856200df31623074de3fde44519df7725b (diff) |
cfg80211: constify MAC addresses in cfg80211 ops
This propagates through all the drivers and mac80211.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c index afb3d15e38ff..befa9c04166d 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | |||
@@ -2182,7 +2182,7 @@ brcmf_cfg80211_config_default_mgmt_key(struct wiphy *wiphy, | |||
2182 | 2182 | ||
2183 | static s32 | 2183 | static s32 |
2184 | brcmf_cfg80211_get_station(struct wiphy *wiphy, struct net_device *ndev, | 2184 | brcmf_cfg80211_get_station(struct wiphy *wiphy, struct net_device *ndev, |
2185 | u8 *mac, struct station_info *sinfo) | 2185 | const u8 *mac, struct station_info *sinfo) |
2186 | { | 2186 | { |
2187 | struct brcmf_if *ifp = netdev_priv(ndev); | 2187 | struct brcmf_if *ifp = netdev_priv(ndev); |
2188 | struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; | 2188 | struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; |
@@ -3975,7 +3975,7 @@ brcmf_cfg80211_change_beacon(struct wiphy *wiphy, struct net_device *ndev, | |||
3975 | 3975 | ||
3976 | static int | 3976 | static int |
3977 | brcmf_cfg80211_del_station(struct wiphy *wiphy, struct net_device *ndev, | 3977 | brcmf_cfg80211_del_station(struct wiphy *wiphy, struct net_device *ndev, |
3978 | u8 *mac) | 3978 | const u8 *mac) |
3979 | { | 3979 | { |
3980 | struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy); | 3980 | struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy); |
3981 | struct brcmf_scb_val_le scbval; | 3981 | struct brcmf_scb_val_le scbval; |
@@ -4203,7 +4203,7 @@ static int brcmf_convert_nl80211_tdls_oper(enum nl80211_tdls_operation oper) | |||
4203 | } | 4203 | } |
4204 | 4204 | ||
4205 | static int brcmf_cfg80211_tdls_oper(struct wiphy *wiphy, | 4205 | static int brcmf_cfg80211_tdls_oper(struct wiphy *wiphy, |
4206 | struct net_device *ndev, u8 *peer, | 4206 | struct net_device *ndev, const u8 *peer, |
4207 | enum nl80211_tdls_operation oper) | 4207 | enum nl80211_tdls_operation oper) |
4208 | { | 4208 | { |
4209 | struct brcmf_if *ifp; | 4209 | struct brcmf_if *ifp; |