Patch "staging: r8188eu: add firmware dependency" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    staging: r8188eu: add firmware dependency

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     staging-r8188eu-add-firmware-dependency.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 9eee5ea6a8786f5a90bd37f0cb89f0cd8fe2d2bd
Author: Grzegorz Szymaszek <gszymaszek@xxxxxxxx>
Date:   Tue Aug 2 19:18:44 2022 +0200

    staging: r8188eu: add firmware dependency
    
    [ Upstream commit b2fa9e13bbf101c662c4cd974608242a0db98cfc ]
    
    The old rtl8188eu module, removed in commit 55dfa29b43d2 ("staging:
    rtl8188eu: remove rtl8188eu driver from staging dir") (Linux kernel
    v5.15-rc1), required (through a MODULE_FIRMWARE call()) the
    rtlwifi/rtl8188eufw.bin firmware file, which the new r8188eu driver no
    longer requires.
    
    I have tested a few RTL8188EUS-based Wi-Fi cards and, while supported by
    both drivers, they do not work when using the new one and the firmware
    wasn't manually loaded. According to Larry Finger, the module
    maintainer, all such cards need the firmware and the driver should
    depend on it (see the linked mails).
    
    Add a proper MODULE_FIRMWARE() call, like it was done in the old driver.
    
    Thanks to Greg Kroah-Hartman and Larry Finger for quick responses to my
    questions.
    
    Cc: stable <stable@xxxxxxxxxx>
    Link: https://answers.launchpad.net/ubuntu/+source/linux-meta-hwe-5.15/+question/702611
    Link: https://lore.kernel.org/lkml/YukkBu3TNODO3or9@nx64de-df6d00/
    Signed-off-by: Grzegorz Szymaszek <gszymaszek@xxxxxxxx>
    Link: https://lore.kernel.org/r/YulcdKfhA8dPQ78s@nx64de-df6d00
    Acked-by: Phillip Potter <phil@xxxxxxxxxxxxxxxx>
    Acked-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c
index 8c8ef9063b0c..ce128866e3fd 100644
--- a/drivers/staging/r8188eu/os_dep/os_intfs.c
+++ b/drivers/staging/r8188eu/os_dep/os_intfs.c
@@ -37,6 +37,7 @@ MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
 MODULE_AUTHOR("Realtek Semiconductor Corp.");
 MODULE_VERSION(DRIVERVERSION);
+MODULE_FIRMWARE("rtlwifi/rtl8188eufw.bin");
 
 #define CONFIG_BR_EXT_BRNAME "br0"
 #define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux