summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/cfg80211.c
diff options
context:
space:
mode:
authorJohannes Berg2012-09-19 09:26:06 +0200
committerJohannes Berg2012-09-19 09:32:59 +0200
commit552bff0c2fec8953ba3793d75ee335032cc0b47c (patch)
tree266f60e039d9869b408275384392c9643e35528b /drivers/net/wireless/mwifiex/cfg80211.c
parentmac80211: make reset debugfs depend on CONFIG_PM (diff)
downloadkernel-qcow2-linux-552bff0c2fec8953ba3793d75ee335032cc0b47c.tar.gz
kernel-qcow2-linux-552bff0c2fec8953ba3793d75ee335032cc0b47c.tar.xz
kernel-qcow2-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 'drivers/net/wireless/mwifiex/cfg80211.c')
-rw-r--r--drivers/net/wireless/mwifiex/cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index e57f543413de..49e20661b60b 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -1597,7 +1597,7 @@ mwifiex_setup_ht_caps(struct ieee80211_sta_ht_cap *ht_info,
* create a new virtual interface with the given name
*/
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)