diff --git a/core/rtw_wlan_util.c b/core/rtw_wlan_util.c index 26f75a9..f4bab02 100644 --- a/core/rtw_wlan_util.c +++ b/core/rtw_wlan_util.c @@ -596,7 +596,7 @@ void set_channel_bwmode(_adapter *padapter, unsigned char channel, unsigned char #endif 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); @@ -1985,7 +1985,7 @@ void HTOnAssocRsp(_adapter *padapter) struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; 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)) pmlmeinfo->HT_enable = 1; @@ -2044,7 +2044,7 @@ void HTOnAssocRsp(_adapter *padapter) for (i = 0; i < 16; i++) pmlmeinfo->HT_caps.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i]; #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" , FUNC_ADPT_ARG(padapter), padapter->iface_id + 1 , MAC_ARG(psta->cmn.mac_addr), psta->cmn.mac_id); - rtw_warn_on(1); + //rtw_warn_on(1); goto exit; } diff --git a/dkms-install.sh b/dkms-install.sh index a62201a..8139bb0 100755 --- a/dkms-install.sh +++ b/dkms-install.sh @@ -11,7 +11,7 @@ DRV_DIR=rtl8812au DRV_NAME=rtl8812au 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 build -m ${DRV_NAME} -v ${DRV_VERSION} diff --git a/dkms.conf b/dkms.conf index a8db342..3510a97 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="realtek-rtl88xxau" -PACKAGE_VERSION="5.3.4~20190215" +PACKAGE_VERSION="5.3.4~20190216" CLEAN="'make' clean" BUILT_MODULE_NAME[0]=88XXau PROCS_NUM=`nproc`