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>
This commit is contained in:
parent
be02f259fd
commit
bb4e506565
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue