mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-08 12:25:18 +00:00
Fix interface down on start
This commit is contained in:
parent
cb5a2d523f
commit
499c160eab
@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME="realtek-rtl88xxau"
|
||||
PACKAGE_VERSION="5.6.4.1~20190928"
|
||||
PACKAGE_VERSION="5.6.4.1~20191030"
|
||||
CLEAN="'make' clean"
|
||||
BUILT_MODULE_NAME[0]=88XXau
|
||||
PROCS_NUM=`nproc`
|
||||
|
@ -2771,6 +2771,8 @@ static int netdev_vir_if_close(struct net_device *pnetdev)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
wdev->iftype = NL80211_IFTYPE_MONITOR;
|
||||
wdev->current_bss = NULL;
|
||||
rtw_scan_abort(padapter);
|
||||
rtw_cfg80211_wait_scan_req_empty(padapter, 200);
|
||||
adapter_wdev_data(padapter)->bandroid_scan = _FALSE;
|
||||
@ -3801,6 +3803,9 @@ extern void rtw_hw_client_port_release(_adapter *adapter);
|
||||
static int netdev_close(struct net_device *pnetdev)
|
||||
{
|
||||
_adapter *padapter = (_adapter *)rtw_netdev_priv(pnetdev);
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
struct wireless_dev *wdev = padapter->rtw_wdev;
|
||||
#endif
|
||||
struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter);
|
||||
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
||||
#ifdef CONFIG_BT_COEXIST_SOCKET_TRX
|
||||
|
Loading…
Reference in New Issue
Block a user