mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Remove a mwlwifi patch
This commit is contained in:
parent
9907b6feb5
commit
005572380e
1 changed files with 0 additions and 23 deletions
|
@ -1,23 +0,0 @@
|
|||
--- a/hif/pcie/pcie.c 2021-11-26 16:47:58.360969448 +0100
|
||||
+++ b/hif/pcie/pcie.c 2021-11-26 16:48:46.108695785 +0100
|
||||
@@ -1293,8 +1293,10 @@
|
||||
char *buf = &str_buf[0];
|
||||
mm_segment_t oldfs;
|
||||
|
||||
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
|
||||
oldfs = get_fs();
|
||||
set_fs(KERNEL_DS);
|
||||
+#endif
|
||||
|
||||
buf += sprintf(buf, "\nMAC: %pM\n", bf_mimo_ctrl->rec_mac);
|
||||
buf += sprintf(buf, "SU_0_MU_1: %d\n", bf_mimo_ctrl->type);
|
||||
@@ -1314,7 +1316,9 @@
|
||||
filename, (unsigned int)fp_data);
|
||||
}
|
||||
|
||||
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
|
||||
set_fs(oldfs);
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void pcie_process_account(struct ieee80211_hw *hw)
|
Loading…
Add table
Add a link
Reference in a new issue