parent
383dd77cb9
commit
636356ea5c
@ -1,2 +1,2 @@
|
|||||||
DIST rtl8814au-20210429.zip 3013417 BLAKE2B 8fcec2064b0af092e93446f8041e3849ae0162429849fe15270f24d231f3b6a208e47f1beff3762cc0973e7ade0a625a2a5893856ad474b39a491df43d02707a SHA512 4a999708706d29f0ca490d94a269285eb9a4e61bba28401187caefe8c5ef5565306f4cd8b96b906d66b52265e93c28394cd01132c55238542c656b6064a1f97a
|
DIST rtl8814au-20210429.zip 3013417 BLAKE2B 8fcec2064b0af092e93446f8041e3849ae0162429849fe15270f24d231f3b6a208e47f1beff3762cc0973e7ade0a625a2a5893856ad474b39a491df43d02707a SHA512 4a999708706d29f0ca490d94a269285eb9a4e61bba28401187caefe8c5ef5565306f4cd8b96b906d66b52265e93c28394cd01132c55238542c656b6064a1f97a
|
||||||
DIST rtl8814au-20211122.zip 3024517 BLAKE2B 782d5a99a20a49e44767fc024ea6bfa99617b5ef7d4d2ef44978cb2e9603c918b7ff21ddd249367f47fe1637fb0997e4a727464a19847cc783991ddb2f6a5daa SHA512 a9481272875c620d3449d3243b2c1e97427c15f0c072aabc84db95ec817169eb5a4baac6cbfc230a95bb9c18cb880c96e2a10532ff891147c9af4e27c2185250
|
DIST rtl8814au-20211122.tar.gz 2648090 BLAKE2B 4326ccf897903922a1d8efc34756a6dba70b0dd103909ecbc89b1714c25f9f03edfaad5816f5d00336091647254e188a286768996b0e042051df878fc477c1ba SHA512 dc39d0a0fcd275407fa3a4751611172629d9018f6fc5535ecae26d8ff44de5e374a708407a49ce3bce22adee4fee0a96f21e6d5b13dac667c63073b79008b513
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
diff --git a/core/efuse/rtw_efuse.c b/core/efuse/rtw_efuse.c
|
||||||
|
index a357253..667f5f8 100755
|
||||||
|
--- a/core/efuse/rtw_efuse.c
|
||||||
|
+++ b/core/efuse/rtw_efuse.c
|
||||||
|
@@ -3204,7 +3204,9 @@ int storeAdaptorInfoFile(char *path, u8 *efuse_data)
|
||||||
|
int retriveAdaptorInfoFile(char *path, u8 *efuse_data)
|
||||||
|
{
|
||||||
|
int ret = _SUCCESS;
|
||||||
|
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
|
||||||
|
mm_segment_t oldfs;
|
||||||
|
+#endif
|
||||||
|
struct file *fp;
|
||||||
|
|
||||||
|
if (path && efuse_data) {
|
||||||
|
diff --git a/core/rtw_ieee80211.c b/core/rtw_ieee80211.c
|
||||||
|
index 846df87..1d15677 100755
|
||||||
|
--- a/core/rtw_ieee80211.c
|
||||||
|
+++ b/core/rtw_ieee80211.c
|
||||||
|
@@ -1522,7 +1522,9 @@ int rtw_get_mac_addr_intel(unsigned char *buf)
|
||||||
|
int ret = 0;
|
||||||
|
int i;
|
||||||
|
struct file *fp = NULL;
|
||||||
|
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
|
||||||
|
mm_segment_t oldfs;
|
||||||
|
+#endif
|
||||||
|
unsigned char c_mac[MAC_ADDRESS_LEN];
|
||||||
|
char fname[] = "/config/wifi/mac.txt";
|
Loading…
Reference in new issue