LOCAL / net: bcm4358: add the 'name_assigne_type' argument for add_virtual_intf
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 22 Sep 2015 06:38:50 +0000 (15:38 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:48:12 +0000 (13:48 +0900)
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>
drivers/net/wireless/bcmdhd4358/wl_cfg80211.c

index 3f23d6c..b204144 100644 (file)
@@ -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)
 {