linux-stable/drivers/staging
Philipp Hortmann bed2559304 staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
[ Upstream commit 3fac2397f5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:11:24 +09:00
..
axis-fifo
board
emxx_udc staging: emxx_udc: Add checks for dma_alloc_coherent() 2023-03-11 13:50:40 +01:00
fbtft
fieldbus staging: fieldbus: use sysfs_emit() in show functions 2022-11-09 14:40:13 +01:00
gdm724x staging: gdm724x: Replace macro GDM_TTY_READY with static inline function 2022-11-22 13:20:16 +01:00
greybus staging: greybus: loopback_test: Remove extra blank lines 2022-12-05 13:28:41 +01:00
iio staging: iio: resolver: ads1210: fix config mode 2023-05-11 23:10:50 +09:00
ks7010 staging: ks7010: Avoid clashing function prototypes 2022-11-09 14:39:03 +01:00
media media: rkvdec: fix use after free bug in rkvdec_remove 2023-05-11 23:11:05 +09:00
most staging: most: i2c: Convert to i2c's .probe_new() 2022-11-22 13:23:25 +01:00
nvec
octeon staging: octeon: cvmx_ptr_to_phys() should return physaddr_t 2022-11-02 08:21:49 +01:00
olpc_dcon staging: olpc_dcon: Convert to i2c's .probe_new() 2022-11-22 13:23:25 +01:00
pi433 staging: pi433: fix memory leak with using debugfs_lookup() 2023-03-11 13:50:42 +01:00
qlge net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
r8188eu staging: r8188eu: use subtype helper in rtw_check_bcn_info 2022-12-05 13:29:32 +01:00
rtl8192e staging: rtl8192e: Fix W_DISABLE# does not work after stop/start 2023-05-11 23:11:24 +09:00
rtl8192u staging: rtl8192u: Fix use after free in ieee80211_rx() 2022-12-05 13:24:50 +01:00
rtl8712 staging: rtl8712: fix potential memory leak 2022-10-31 09:08:30 +01:00
rtl8723bs drivers: staging: rtl8723bs: Fix locking in rtw_scan_timeout_handler() 2023-05-11 23:11:19 +09:00
rts5208 staging: rts5208: split long line of code 2022-10-20 17:06:17 +02:00
sm750fb Staging driver changes for 6.2-rc1 2022-12-16 03:27:03 -08:00
vc04_services staging: vchiq_arm: fix enum vchiq_status return types 2023-01-17 19:23:36 +01:00
vme_user vme: Use root_device_register() not underlined version 2022-12-08 17:00:18 +01:00
vt6655 Staging driver changes for 6.2-rc1 2022-12-16 03:27:03 -08:00
vt6656 wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
wlan-ng treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
Kconfig Here's the main clk pull request for this merge window. We have some 2022-10-08 10:06:48 -07:00
Makefile Here's the main clk pull request for this merge window. We have some 2022-10-08 10:06:48 -07:00