mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2025-01-23 17:55:06 +00:00
Disable a warning causing kernel trace #254
This commit is contained in:
parent
fc3c9149db
commit
c812cc3aca
@ -596,7 +596,7 @@ void set_channel_bwmode(_adapter *padapter, unsigned char channel, unsigned char
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (padapter->bNotifyChannelChange)
|
if (padapter->bNotifyChannelChange)
|
||||||
RTW_INFO("[%s] ch = %d, offset = %d, bwmode = %d\n", __FUNCTION__, channel, channel_offset, bwmode);
|
RTW_INFO("[%s] ch = %d, offset = %d, bwmode = %d\n", __func__, channel, channel_offset, bwmode);
|
||||||
|
|
||||||
center_ch = rtw_get_center_ch(channel, bwmode, channel_offset);
|
center_ch = rtw_get_center_ch(channel, bwmode, channel_offset);
|
||||||
|
|
||||||
@ -1985,7 +1985,7 @@ void HTOnAssocRsp(_adapter *padapter)
|
|||||||
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
||||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||||
|
|
||||||
RTW_INFO("%s\n", __FUNCTION__);
|
RTW_INFO("%s\n", __func__);
|
||||||
|
|
||||||
if ((pmlmeinfo->HT_info_enable) && (pmlmeinfo->HT_caps_enable))
|
if ((pmlmeinfo->HT_info_enable) && (pmlmeinfo->HT_caps_enable))
|
||||||
pmlmeinfo->HT_enable = 1;
|
pmlmeinfo->HT_enable = 1;
|
||||||
@ -2044,7 +2044,7 @@ void HTOnAssocRsp(_adapter *padapter)
|
|||||||
for (i = 0; i < 16; i++)
|
for (i = 0; i < 16; i++)
|
||||||
pmlmeinfo->HT_caps.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i];
|
pmlmeinfo->HT_caps.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i];
|
||||||
#endif
|
#endif
|
||||||
RTW_INFO("%s(): WLAN_HT_CAP_SM_PS_STATIC\n", __FUNCTION__);
|
RTW_INFO("%s(): WLAN_HT_CAP_SM_PS_STATIC\n", __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
@ -3686,7 +3686,7 @@ void rtw_release_macid(_adapter *padapter, struct sta_info *psta)
|
|||||||
RTW_WARN(FUNC_ADPT_FMT" if%u, mac_addr:"MAC_FMT" macid:%u not valid\n"
|
RTW_WARN(FUNC_ADPT_FMT" if%u, mac_addr:"MAC_FMT" macid:%u not valid\n"
|
||||||
, FUNC_ADPT_ARG(padapter), padapter->iface_id + 1
|
, FUNC_ADPT_ARG(padapter), padapter->iface_id + 1
|
||||||
, MAC_ARG(psta->cmn.mac_addr), psta->cmn.mac_id);
|
, MAC_ARG(psta->cmn.mac_addr), psta->cmn.mac_id);
|
||||||
rtw_warn_on(1);
|
//rtw_warn_on(1);
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ DRV_DIR=rtl8812au
|
|||||||
DRV_NAME=rtl8812au
|
DRV_NAME=rtl8812au
|
||||||
DRV_VERSION=5.3.4
|
DRV_VERSION=5.3.4
|
||||||
|
|
||||||
cp -r ../${DRV_DIR} /usr/src/${DRV_NAME}-${DRV_VERSION}
|
cp -r $(pwd) /usr/src/${DRV_NAME}-${DRV_VERSION}
|
||||||
|
|
||||||
dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
|
dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
|
||||||
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
|
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME="realtek-rtl88xxau"
|
PACKAGE_NAME="realtek-rtl88xxau"
|
||||||
PACKAGE_VERSION="5.3.4~20190215"
|
PACKAGE_VERSION="5.3.4~20190216"
|
||||||
CLEAN="'make' clean"
|
CLEAN="'make' clean"
|
||||||
BUILT_MODULE_NAME[0]=88XXau
|
BUILT_MODULE_NAME[0]=88XXau
|
||||||
PROCS_NUM=`nproc`
|
PROCS_NUM=`nproc`
|
||||||
|
Loading…
Reference in New Issue
Block a user