diff options
author | Alice Ferrazzi <alicef@gentoo.org> | 2023-03-13 19:46:04 +0900 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2023-03-13 19:46:04 +0900 |
commit | 5472b922a8b76f02336959611a817c6e602e1e58 (patch) | |
tree | 1cc75ea4d775af00dbc9aa1dcffbdec2240bc553 | |
parent | Linux patch 5.4.235 (diff) | |
download | linux-patches-5472b922a8b76f02336959611a817c6e602e1e58.tar.gz linux-patches-5472b922a8b76f02336959611a817c6e602e1e58.tar.bz2 linux-patches-5472b922a8b76f02336959611a817c6e602e1e58.zip |
Linux patch 5.4.2365.4-242
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
-rw-r--r-- | 0000_README | 4 | ||||
-rw-r--r-- | 1235_linux-5.4.236.patch | 104 |
2 files changed, 108 insertions, 0 deletions
diff --git a/0000_README b/0000_README index 2675ec40..70998c7a 100644 --- a/0000_README +++ b/0000_README @@ -983,6 +983,10 @@ Patch: 1234_linux-5.4.235.patch From: https://www.kernel.org Desc: Linux 5.4.235 +Patch: 1235_linux-5.4.236.patch +From: https://www.kernel.org +Desc: Linux 5.4.236 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1235_linux-5.4.236.patch b/1235_linux-5.4.236.patch new file mode 100644 index 00000000..5ec28584 --- /dev/null +++ b/1235_linux-5.4.236.patch @@ -0,0 +1,104 @@ +diff --git a/Makefile b/Makefile +index f75275728ce8b..e3b56259d50af 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 4 +-SUBLEVEL = 235 ++SUBLEVEL = 236 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +index 20e494186c9eb..458ecca00ba1b 100644 +--- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c ++++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +@@ -185,7 +185,6 @@ static void _rtl92e_dm_init_fsync(struct net_device *dev); + static void _rtl92e_dm_deinit_fsync(struct net_device *dev); + + static void _rtl92e_dm_check_txrateandretrycount(struct net_device *dev); +-static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev); + static void _rtl92e_dm_check_fsync(struct net_device *dev); + static void _rtl92e_dm_check_rf_ctrl_gpio(void *data); + static void _rtl92e_dm_fsync_timer_callback(struct timer_list *t); +@@ -238,8 +237,6 @@ void rtl92e_dm_watchdog(struct net_device *dev) + if (priv->being_init_adapter) + return; + +- _rtl92e_dm_check_ac_dc_power(dev); +- + _rtl92e_dm_check_txrateandretrycount(dev); + _rtl92e_dm_check_edca_turbo(dev); + +@@ -257,30 +254,6 @@ void rtl92e_dm_watchdog(struct net_device *dev) + _rtl92e_dm_cts_to_self(dev); + } + +-static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev) +-{ +- struct r8192_priv *priv = rtllib_priv(dev); +- static char const ac_dc_script[] = "/etc/acpi/wireless-rtl-ac-dc-power.sh"; +- char *argv[] = {(char *)ac_dc_script, DRV_NAME, NULL}; +- static char *envp[] = {"HOME=/", +- "TERM=linux", +- "PATH=/usr/bin:/bin", +- NULL}; +- +- if (priv->ResetProgress == RESET_TYPE_SILENT) { +- RT_TRACE((COMP_INIT | COMP_POWER | COMP_RF), +- "GPIOChangeRFWorkItemCallBack(): Silent Reset!!!!!!!\n"); +- return; +- } +- +- if (priv->rtllib->state != RTLLIB_LINKED) +- return; +- call_usermodehelper(ac_dc_script, argv, envp, UMH_WAIT_PROC); +- +- return; +-}; +- +- + void rtl92e_init_adaptive_rate(struct net_device *dev) + { + +@@ -1800,10 +1773,6 @@ static void _rtl92e_dm_check_rf_ctrl_gpio(void *data) + u8 tmp1byte; + enum rt_rf_power_state eRfPowerStateToSet; + bool bActuallySet = false; +- char *argv[3]; +- static char const RadioPowerPath[] = "/etc/acpi/events/RadioPower.sh"; +- static char *envp[] = {"HOME=/", "TERM=linux", "PATH=/usr/bin:/bin", +- NULL}; + + bActuallySet = false; + +@@ -1835,14 +1804,6 @@ static void _rtl92e_dm_check_rf_ctrl_gpio(void *data) + mdelay(1000); + priv->bHwRfOffAction = 1; + rtl92e_set_rf_state(dev, eRfPowerStateToSet, RF_CHANGE_BY_HW); +- if (priv->bHwRadioOff) +- argv[1] = "RFOFF"; +- else +- argv[1] = "RFON"; +- +- argv[0] = (char *)RadioPowerPath; +- argv[2] = NULL; +- call_usermodehelper(RadioPowerPath, argv, envp, UMH_WAIT_PROC); + } + } + +diff --git a/net/wireless/sme.c b/net/wireless/sme.c +index 89b81d4c1095a..a260cd60a7b99 100644 +--- a/net/wireless/sme.c ++++ b/net/wireless/sme.c +@@ -1252,8 +1252,6 @@ int cfg80211_connect(struct cfg80211_registered_device *rdev, + connect->key = NULL; + connect->key_len = 0; + connect->key_idx = 0; +- connect->crypto.cipher_group = 0; +- connect->crypto.n_ciphers_pairwise = 0; + } + + wdev->connect_keys = connkeys; |