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/mwifiex/util.c | |
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/mwifiex/util.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/util.c b/drivers/net/wireless/mwifiex/util.c index c3824e37f3f2..6da5abf52e61 100644 --- a/drivers/net/wireless/mwifiex/util.c +++ b/drivers/net/wireless/mwifiex/util.c | |||
@@ -259,7 +259,7 @@ int mwifiex_complete_cmd(struct mwifiex_adapter *adapter, | |||
259 | * NULL is returned if station entry is not found in associated STA list. | 259 | * NULL is returned if station entry is not found in associated STA list. |
260 | */ | 260 | */ |
261 | struct mwifiex_sta_node * | 261 | struct mwifiex_sta_node * |
262 | mwifiex_get_sta_entry(struct mwifiex_private *priv, u8 *mac) | 262 | mwifiex_get_sta_entry(struct mwifiex_private *priv, const u8 *mac) |
263 | { | 263 | { |
264 | struct mwifiex_sta_node *node; | 264 | struct mwifiex_sta_node *node; |
265 | 265 | ||
@@ -280,7 +280,7 @@ mwifiex_get_sta_entry(struct mwifiex_private *priv, u8 *mac) | |||
280 | * If received mac address is NULL, NULL is returned. | 280 | * If received mac address is NULL, NULL is returned. |
281 | */ | 281 | */ |
282 | struct mwifiex_sta_node * | 282 | struct mwifiex_sta_node * |
283 | mwifiex_add_sta_entry(struct mwifiex_private *priv, u8 *mac) | 283 | mwifiex_add_sta_entry(struct mwifiex_private *priv, const u8 *mac) |
284 | { | 284 | { |
285 | struct mwifiex_sta_node *node; | 285 | struct mwifiex_sta_node *node; |
286 | unsigned long flags; | 286 | unsigned long flags; |
@@ -332,7 +332,7 @@ mwifiex_set_sta_ht_cap(struct mwifiex_private *priv, const u8 *ies, | |||
332 | } | 332 | } |
333 | 333 | ||
334 | /* This function will delete a station entry from station list */ | 334 | /* This function will delete a station entry from station list */ |
335 | void mwifiex_del_sta_entry(struct mwifiex_private *priv, u8 *mac) | 335 | void mwifiex_del_sta_entry(struct mwifiex_private *priv, const u8 *mac) |
336 | { | 336 | { |
337 | struct mwifiex_sta_node *node; | 337 | struct mwifiex_sta_node *node; |
338 | unsigned long flags; | 338 | unsigned long flags; |