Merge pull request #249 from andriytk/fix-build-on-5.15

Fix build on Ubuntu 22.04 / 5.15 kernel
This commit is contained in:
Ole Petter Bang 2022-08-09 06:56:27 +02:00 committed by GitHub
commit 4fa0ce3ef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -554,6 +554,9 @@ _func_exit_;
thread_exit();
#ifdef PLATFORM_LINUX
return 0;
#endif
}

View File

@ -1179,6 +1179,10 @@ exit:
pmptx->stop = 1;
thread_exit();
#ifdef PLATFORM_LINUX
return 0;
#endif
}
void fill_txdesc_for_mp(PADAPTER padapter, struct tx_desc *ptxdesc)