diff --git a/core/rtw_wlan_util.c b/core/rtw_wlan_util.c index fd9b7ca..b4cecd1 100644 --- a/core/rtw_wlan_util.c +++ b/core/rtw_wlan_util.c @@ -592,7 +592,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); @@ -2074,7 +2074,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; @@ -2133,7 +2133,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__); } /* */ @@ -3667,7 +3667,7 @@ inline bool rtw_macid_is_set(struct macid_bmp *map, u8 id) return map->m3 & BIT(id - 96); #endif else - rtw_warn_on(1); + //rtw_warn_on(1); return 0; } diff --git a/dkms-install.sh b/dkms-install.sh index a8e58cf..07c476b 100755 --- a/dkms-install.sh +++ b/dkms-install.sh @@ -11,7 +11,7 @@ DRV_DIR="$(pwd)" DRV_NAME=rtl8812au DRV_VERSION=5.6.4.2 -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}