summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2014-05-16 22:59:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-17 00:23:11 +0200
commitbb4e506565cfc0a2f534dfda1fb7ca5c26f7a604 (patch)
treefda75829ae91c187956f2f6f5292d640b0b56581 /drivers
parentstaging: rtl8723au: Use correct pipe type for USB interrupts (diff)
downloadlinux-bb4e506565cfc0a2f534dfda1fb7ca5c26f7a604.tar.xz
linux-bb4e506565cfc0a2f534dfda1fb7ca5c26f7a604.zip
staging: rtl8723au: Do not reset wdev->iftype in netdev_close()
wdev->ifdev should be set by .change_virtual_intf(). This solves the problem of WARN() messages on module unload. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8723au/os_dep/os_intfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723au/os_dep/os_intfs.c b/drivers/staging/rtl8723au/os_dep/os_intfs.c
index 57eca7a45672..4fe751f7c2bf 100644
--- a/drivers/staging/rtl8723au/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723au/os_dep/os_intfs.c
@@ -953,8 +953,6 @@ static int netdev_close(struct net_device *pnetdev)
#endif /* CONFIG_8723AU_P2P */
rtw_scan_abort23a(padapter);
- /* set this at the end */
- padapter->rtw_wdev->iftype = NL80211_IFTYPE_MONITOR;
RT_TRACE(_module_os_intfs_c_, _drv_info_, ("-871x_drv - drv_close\n"));
DBG_8723A("-871x_drv - drv_close, bup =%d\n", padapter->bup);