summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2015-09-22 15:38:50 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:48:12 +0900
commit590ec30e4736cb549f444100216e656566023ad4 (patch)
tree3f8ec179e36030c47dabc813c0f2cd1c0b886ac9 /drivers/net
parentc1cdee9f047f66f542a3f38443b0684b39bbcf82 (diff)
LOCAL / net: bcm4358: add the 'name_assigne_type' argument for add_virtual_intf
Add the "unsigned char name_assign_type" at add_virtual_intf callback. So fixed it for broadcom driver. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/bcmdhd4358/wl_cfg80211.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcmdhd4358/wl_cfg80211.c b/drivers/net/wireless/bcmdhd4358/wl_cfg80211.c
index 3f23d6c1134f..b20414464585 100644
--- a/drivers/net/wireless/bcmdhd4358/wl_cfg80211.c
+++ b/drivers/net/wireless/bcmdhd4358/wl_cfg80211.c
@@ -1398,6 +1398,9 @@ wl_cfg80211_add_virtual_iface(struct wiphy *wiphy,
#else
char *name,
#endif /* WL_CFG80211_P2P_DEV_IF */
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(4, 0, 0))
+ unsigned char name_assigne_type,
+#endif
enum nl80211_iftype type, u32 *flags,
struct vif_params *params)
{