diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-09-19 09:26:06 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-09-19 09:32:59 +0200 |
commit | 552bff0c2fec8953ba3793d75ee335032cc0b47c (patch) | |
tree | 266f60e039d9869b408275384392c9643e35528b /net/mac80211 | |
parent | 2ad4814fb6ddc78ec17079b5dec9e2cd313a944c (diff) | |
download | linux-552bff0c2fec8953ba3793d75ee335032cc0b47c.tar.bz2 |
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 @@ #include "rate.h" #include "mesh.h" -static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, char *name, +static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, + const char *name, enum nl80211_iftype type, u32 *flags, struct vif_params *params) |