summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent43b19952de54b0fccfcdc5968891ebe550367fe8 (diff)
downloadlinux-388ac775be95e510c2095ed6cd59422a5183a9fb.tar.bz2
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 'include')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index e76daaa7dc25..0778d04b3bbe 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1229,7 +1229,7 @@ struct cfg80211_ops {
int (*get_tx_power)(struct wiphy *wiphy, int *dbm);
int (*set_wds_peer)(struct wiphy *wiphy, struct net_device *dev,
- u8 *addr);
+ const u8 *addr);
void (*rfkill_poll)(struct wiphy *wiphy);