mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
50cae2e938
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit 3ad16a8b6996a0c64cf92a39b7e6563c15e63b8b)
11 lines
403 B
Diff
11 lines
403 B
Diff
--- a/os_dep/linux/os_intfs.c
|
|
+++ b/os_dep/linux/os_intfs.c
|
|
@@ -2807,6 +2807,7 @@ static int netdev_vir_if_close(struct ne
|
|
{
|
|
_adapter *padapter = (_adapter *)rtw_netdev_priv(pnetdev);
|
|
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
|
+ struct wireless_dev *wdev = padapter->rtw_wdev;
|
|
|
|
RTW_INFO(FUNC_NDEV_FMT" , bup=%d\n", FUNC_NDEV_ARG(pnetdev), padapter->bup);
|
|
padapter->net_closed = _TRUE;
|