From: Stephen Rothwell <s...@canb.auug.org.au>

This fixes the add/change_virtual-intf API change that happened in the
wifi tree in the rtl8723bs driver.

Signed-off-by: Stephen Rothwell <s...@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 
b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
index 3b7573959312..e4fdda3c4591 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
@@ -1310,7 +1310,7 @@ extern int netdev_open(struct net_device *pnetdev);
 
 static int cfg80211_rtw_change_iface(struct wiphy *wiphy,
                                     struct net_device *ndev,
-                                    enum nl80211_iftype type, u32 *flags,
+                                    enum nl80211_iftype type,
                                     struct vif_params *params)
 {
        enum nl80211_iftype old_type;
@@ -2711,7 +2711,7 @@ static struct wireless_dev *
                struct wiphy *wiphy,
                const char *name,
                unsigned char name_assign_type,
-               enum nl80211_iftype type, u32 *flags, struct vif_params *params)
+               enum nl80211_iftype type, struct vif_params *params)
 {
        int ret = 0;
        struct net_device* ndev = NULL;
-- 
2.12.2

Reply via email to