aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-03-31 16:39:04 -0400
committerDavid S. Miller <davem@davemloft.net>2015-03-31 16:39:04 -0400
commit7b6249bba940f57c20cdde793b306ca3831778c7 (patch)
tree24caf2ec9ea6fca08fe225228614807d0919b4b2 /drivers/staging
parentfbcb21705930f2930f506149d0b8d36dfbe45107 (diff)
parent2c44be81f0fc147eed9dc63e2601318b2c007aeb (diff)
Merge tag 'mac80211-next-for-davem-2015-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Johannes Berg says: ==================== Lots of updates for net-next; along with the usual flurry of small fixes, cleanups and internal features we have: * VHT support for TDLS and IBSS (conditional on drivers though) * first TX performance improvements (the biggest will come later) * many suspend/resume (race) fixes * name_assign_type support from Tom Gundersen ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
index 537bd8214efe..a6116fdc8678 100644
--- a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c
@@ -2580,6 +2580,7 @@ static const struct net_device_ops rtw_cfg80211_monitor_if_ops = {
2580}; 2580};
2581 2581
2582static int rtw_cfg80211_add_monitor_if(struct rtw_adapter *padapter, char *name, 2582static int rtw_cfg80211_add_monitor_if(struct rtw_adapter *padapter, char *name,
2583 unsigned char name_assign_type,
2583 struct net_device **ndev) 2584 struct net_device **ndev)
2584{ 2585{
2585 int ret = 0; 2586 int ret = 0;
@@ -2612,6 +2613,7 @@ static int rtw_cfg80211_add_monitor_if(struct rtw_adapter *padapter, char *name,
2612 mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP; 2613 mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP;
2613 strncpy(mon_ndev->name, name, IFNAMSIZ); 2614 strncpy(mon_ndev->name, name, IFNAMSIZ);
2614 mon_ndev->name[IFNAMSIZ - 1] = 0; 2615 mon_ndev->name[IFNAMSIZ - 1] = 0;
2616 mon_ndev->name_assign_type = name_assign_type;
2615 mon_ndev->destructor = rtw_ndev_destructor; 2617 mon_ndev->destructor = rtw_ndev_destructor;
2616 2618
2617 mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops; 2619 mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops;
@@ -2654,6 +2656,7 @@ out:
2654 2656
2655static struct wireless_dev * 2657static struct wireless_dev *
2656cfg80211_rtw_add_virtual_intf(struct wiphy *wiphy, const char *name, 2658cfg80211_rtw_add_virtual_intf(struct wiphy *wiphy, const char *name,
2659 unsigned char name_assign_type,
2657 enum nl80211_iftype type, u32 *flags, 2660 enum nl80211_iftype type, u32 *flags,
2658 struct vif_params *params) 2661 struct vif_params *params)
2659{ 2662{
@@ -2673,7 +2676,8 @@ cfg80211_rtw_add_virtual_intf(struct wiphy *wiphy, const char *name,
2673 break; 2676 break;
2674 case NL80211_IFTYPE_MONITOR: 2677 case NL80211_IFTYPE_MONITOR:
2675 ret = 2678 ret =
2676 rtw_cfg80211_add_monitor_if(padapter, (char *)name, &ndev); 2679 rtw_cfg80211_add_monitor_if(padapter, (char *)name,
2680 name_assign_type, &ndev);
2677 break; 2681 break;
2678 2682
2679 case NL80211_IFTYPE_P2P_CLIENT: 2683 case NL80211_IFTYPE_P2P_CLIENT: