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 /drivers/net/wireless/mwifiex/main.h | |
parent | 2ad4814fb6ddc78ec17079b5dec9e2cd313a944c (diff) | |
download | lwn-552bff0c2fec8953ba3793d75ee335032cc0b47c.tar.gz lwn-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 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 994bc4fc263e..d2fb3c3e1db1 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h @@ -1030,7 +1030,7 @@ int mwifiex_check_network_compatibility(struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc); struct wireless_dev *mwifiex_add_virtual_intf(struct wiphy *wiphy, - char *name, + const char *name, enum nl80211_iftype type, u32 *flags, struct vif_params *params); |