summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-09-19 09:26:06 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-09-19 09:32:59 +0200
commit552bff0c2fec8953ba3793d75ee335032cc0b47c (patch)
tree266f60e039d9869b408275384392c9643e35528b /include/net
parent2ad4814fb6ddc78ec17079b5dec9e2cd313a944c (diff)
downloadlinux-552bff0c2fec8953ba3793d75ee335032cc0b47c.tar.gz
linux-552bff0c2fec8953ba3793d75ee335032cc0b47c.tar.bz2
linux-552bff0c2fec8953ba3793d75ee335032cc0b47c.zip
cfg80211: constify name parameter to add_virtual_intf
The name can't be modified by the driver, make it const. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-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 80051ffc2755..ab78b53bd6f5 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1628,7 +1628,7 @@ struct cfg80211_ops {
void (*set_wakeup)(struct wiphy *wiphy, bool enabled);
struct wireless_dev * (*add_virtual_intf)(struct wiphy *wiphy,
- char *name,
+ const char *name,
enum nl80211_iftype type,
u32 *flags,
struct vif_params *params);