Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4470703rwb; Tue, 6 Sep 2022 08:01:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5GPDtP2YR1pzFInAVRPWNEAVMyDZ/GjAvmoyFQ15YKS+zop35TsFXj/sMmVR/qEwte8H/c X-Received: by 2002:aa7:9471:0:b0:53e:524f:c12b with SMTP id t17-20020aa79471000000b0053e524fc12bmr1214630pfq.1.1662476484381; Tue, 06 Sep 2022 08:01:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662476484; cv=none; d=google.com; s=arc-20160816; b=acEKLBv65XJ9Q8T+m07kb3UEZq8eTsTFuuB/k4xcCkQjFM/5VS6G0c5HaSGdML7ILK 86/vfjSYXG1wYyzyBDqvnoPgxIA+H//yHAO4uQc8a05apYhTPRmgRP0ic0JVEV2SiLQd mh5dC7zMhS3aL4DGajNGXQLOVWttH5SDEcgtbpJHD8DG0NZEMN83j785E2vEkxnlTIIQ 8rFVaTXwmCquYmYQ6zoA45mhQoN75RGrPt6R48RcOQqsCeTiCpzeXSyuDRwYuZnPqDWU F4DgntCqqrnxVCXhKqOaNjVTbPOfxZKUiUIdWYA+Pnn4roVmRuDl9pCNj5GiCX9oLP44 pNYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4RKo6n02TBrOMYgWTtVRPhtffckB6W5MWvIPyq/j04c=; b=GJGG6+SeYAWuK9eqtX269ZbqmJmBnBS0094tZDxLuRnSnIr2b7/K/zuLq9FnP7u1Cq oIO3eGCiiS/q/4zMvh+HcRpt+ISDB2NM7gTwerwk6PyP/fz8i+QpT5K56xXVevBudfUX FUnrKYdY9hI8OyCH+jBMtSjJM+mwmMQwV4DNFa7nu343fgFlEkvKtDmQVU37KP2OZcmy rLF9HMvrK4k7pB8xUEH7kM2/OnsS5Xon6O8ZFjQEL3GrkizNxl33WtuFkPVDhQWhhdhW 9eNZsn7cwueGAsba6PHd+thmAh3Lo950XFEbsQ7BDAsIOEwirEsnE/KWGarTBE3lZ+5b bT/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DchqQhpJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v63-20020a638942000000b00434b5250df7si1506938pgd.548.2022.09.06.08.01.12; Tue, 06 Sep 2022 08:01:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DchqQhpJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239657AbiIFOHN (ORCPT + 99 others); Tue, 6 Sep 2022 10:07:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239690AbiIFOFT (ORCPT ); Tue, 6 Sep 2022 10:05:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A2D6844D9; Tue, 6 Sep 2022 06:45:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3055561548; Tue, 6 Sep 2022 13:44:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BD99C433C1; Tue, 6 Sep 2022 13:44:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662471850; bh=Yj0X9/HsJ33Z2JHLa1IFoJue2frjFFeDIRW2hdU90AI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DchqQhpJxPkFdueWbDGHXtV5MG07sN5VPUkJXvfNnuiq1uPVMUJskuYqdUUuSMvOM UDnwT/sZwNkbZpUAGyd6arhVJM0UmAsUqQpcevS7Q2b7G1fnZzx8zcIhI+HF9dTr90 jPeO5Qy4H0AooDwo3NGAadvKt6gn2UYQtGevqX6Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, stable , Grzegorz Szymaszek , Phillip Potter , Larry Finger Subject: [PATCH 5.19 060/155] staging: r8188eu: add firmware dependency Date: Tue, 6 Sep 2022 15:30:08 +0200 Message-Id: <20220906132831.962756227@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220906132829.417117002@linuxfoundation.org> References: <20220906132829.417117002@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Grzegorz Szymaszek commit b2fa9e13bbf101c662c4cd974608242a0db98cfc upstream. 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 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 Link: https://lore.kernel.org/r/YulcdKfhA8dPQ78s@nx64de-df6d00 Acked-by: Phillip Potter Acked-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- drivers/staging/r8188eu/os_dep/os_intfs.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/staging/r8188eu/os_dep/os_intfs.c +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c @@ -18,6 +18,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, */