OpenCloudOS-Kernel/drivers/staging/rtl8192e
Philipp Hortmann 3fac2397f5 staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
When loading the driver for rtl8192e, the W_DISABLE# switch is working as
intended. But when the WLAN is turned off in software and then turned on
again the W_DISABLE# does not work anymore. Reason for this is that in
the function _rtl92e_dm_check_rf_ctrl_gpio() the bfirst_after_down is
checked and returned when true. bfirst_after_down is set true when
switching the WLAN off in software. But it is not set to false again
when WLAN is turned on again.

Add bfirst_after_down = false in _rtl92e_sta_up to reset bit and fix
above described bug.

Fixes: 94a799425e ("From: wlanfae <wlanfae@realtek.com> [PATCH 1/8] rtl8192e: Import new version of driver from realtek")
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20230418200201.GA17398@matrix-ESPRIMO-P710
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-20 13:55:20 +02:00
..
rtl8192e staging: rtl8192e: Fix W_DISABLE# does not work after stop/start 2023-04-20 13:55:20 +02:00
Kconfig staging: rtl8192e: Describe each kernel config option 2022-08-30 17:17:03 +02:00
Makefile
TODO staging: rtl8192e: Update the TODO file for this driver 2022-10-22 09:58:50 +02:00
dot11d.c staging: rtl8192e: remove boilerplate license text 2019-03-18 07:06:03 +01:00
dot11d.h Staging: rtl8192e: Replace license text with SPDX identifier 2019-02-21 10:58:11 +01:00
rtl819x_BA.h staging: rtl8192e: reformat ba_record struct 2021-03-10 09:25:28 +01:00
rtl819x_BAProc.c staging: rtl8192e: Rename pHTInfo 2022-11-17 19:50:15 +01:00
rtl819x_HT.h staging: rtl8192e: Remove unused function _rtl92e_dm_init_wa_broadcom_iot 2023-04-15 18:03:59 +02:00
rtl819x_HTProc.c staging: rtl8192e: Rename pHTInfo 2022-11-17 19:50:15 +01:00
rtl819x_Qos.h staging: rtl8192e: Remove unchanged variable AcmMethod 2022-12-05 13:24:59 +01:00
rtl819x_TS.h staging: rtl8192e: reformat rx_ts_record struct 2021-03-10 09:25:32 +01:00
rtl819x_TSProc.c staging: rtl8192e: fix unbalanced braces around else 2023-03-28 13:35:03 +02:00
rtllib.h staging: rtl8192e: Remove unused macro RT_SET_PS_LEVEL 2023-04-20 13:55:19 +02:00
rtllib_crypt_ccmp.c staging: rtl8192e: avoid CamelCase <dot11RSNAStatsCCMPDecryptErrors> 2023-04-05 16:39:08 +02:00
rtllib_crypt_tkip.c staging: rtl8192e: rtllib_crypt_tkip: rewritten comparison to NULL 2022-10-31 09:07:20 +01:00
rtllib_crypt_wep.c staging: rtl8192e: rtllib_crypt_wep: multiple blank lines removal 2022-10-25 19:25:36 +02:00
rtllib_debug.h staging: rtl8192e: Remove ftrace-like logging in rtl819x_BAProc.c, ... 2022-09-24 12:59:53 +02:00
rtllib_module.c staging: rtl8192e: Rename pHTInfo 2022-11-17 19:50:15 +01:00
rtllib_rx.c staging: rtl8192e: remove blank lines after '{' 2023-03-25 09:51:43 +01:00
rtllib_softmac.c staging: rtl8192e: Replace macro container_of_work_rsl with standard macro 2023-03-25 09:51:14 +01:00
rtllib_softmac_wx.c staging: rtl8192e: Replace macro container_of_work_rsl with standard macro 2023-03-25 09:51:14 +01:00
rtllib_tx.c staging: rtl8192e: Rename pHTInfo 2022-11-17 19:50:15 +01:00
rtllib_wx.c staging: rtl8192e: Replace macro iwe_stream_add_point_rsl with standard function 2023-03-25 09:51:15 +01:00