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 /include/net | |
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 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 80051ffc275..ab78b53bd6f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1628,7 +1628,7 @@ struct cfg80211_ops { | |||
1628 | void (*set_wakeup)(struct wiphy *wiphy, bool enabled); | 1628 | void (*set_wakeup)(struct wiphy *wiphy, bool enabled); |
1629 | 1629 | ||
1630 | struct wireless_dev * (*add_virtual_intf)(struct wiphy *wiphy, | 1630 | struct wireless_dev * (*add_virtual_intf)(struct wiphy *wiphy, |
1631 | char *name, | 1631 | const char *name, |
1632 | enum nl80211_iftype type, | 1632 | enum nl80211_iftype type, |
1633 | u32 *flags, | 1633 | u32 *flags, |
1634 | struct vif_params *params); | 1634 | struct vif_params *params); |