summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-10-07 13:11:09 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-10-07 14:41:28 -0400
commit388ac775be95e510c2095ed6cd59422a5183a9fb (patch)
treebbdb6f1b5aa46ec8ebb5c1eccdd4934082a66094 /net/wireless
parent43b19952de54b0fccfcdc5968891ebe550367fe8 (diff)
cfg80211: constify WDS address
There's no need for the WDS peer address to not be const, so make it const. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 4fed1663aba3..882dc921103b 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -879,7 +879,7 @@ static int nl80211_set_wds_peer(struct sk_buff *skb, struct genl_info *info)
struct cfg80211_registered_device *rdev = info->user_ptr[0];
struct net_device *dev = info->user_ptr[1];
struct wireless_dev *wdev = dev->ieee80211_ptr;
- u8 *bssid;
+ const u8 *bssid;
if (!info->attrs[NL80211_ATTR_MAC])
return -EINVAL;