Merge pull request #236 from CGarces/fix_5.12

Fixed 5.12 support.
This commit is contained in:
Carlos Garcés 2021-05-12 09:43:22 +02:00 committed by GitHub
commit 5464196753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ jobs:
[ -z "$AMD64_DEB" ] && exit 2 [ -z "$AMD64_DEB" ] && exit 2
wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_DEB wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_DEB
wget -nv ${KERNEL_URL}v${VERSION}/$ALL_DEB wget -nv ${KERNEL_URL}v${VERSION}/$ALL_DEB
wget -nv http://mirrors.kernel.org/ubuntu/pool/main/g/glibc/libc6_2.33-0ubuntu5_amd64.deb
sudo dpkg --force-all -i *.deb sudo dpkg --force-all -i *.deb
echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -359,6 +359,7 @@ static int napi_recv(_adapter *padapter, int budget)
if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP) if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
rx_ok = _TRUE; rx_ok = _TRUE;
#else #else
rtw_napi_gro_receive(&padapter->napi, pskb);
rx_ok = _TRUE; rx_ok = _TRUE;
#endif #endif
goto next; goto next;