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>
This commit is contained in:
Johannes Berg
2012-09-19 09:26:06 +02:00
parent 2ad4814fb6
commit 552bff0c2f
6 changed files with 8 additions and 7 deletions

View File

@@ -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)