diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-09-19 03:26:06 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-09-19 03:32:59 -0400 |
commit | 552bff0c2fec8953ba3793d75ee335032cc0b47c (patch) | |
tree | 266f60e039d9869b408275384392c9643e35528b /net/mac80211 | |
parent | 2ad4814fb6ddc78ec17079b5dec9e2cd313a944c (diff) |
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 'net/mac80211')
-rw-r--r-- | net/mac80211/cfg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 9bd56a744982..05f3a313db88 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -20,7 +20,8 @@ | |||
20 | #include "rate.h" | 20 | #include "rate.h" |
21 | #include "mesh.h" | 21 | #include "mesh.h" |
22 | 22 | ||
23 | static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, char *name, | 23 | static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, |
24 | const char *name, | ||
24 | enum nl80211_iftype type, | 25 | enum nl80211_iftype type, |
25 | u32 *flags, | 26 | u32 *flags, |
26 | struct vif_params *params) | 27 | struct vif_params *params) |