From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from paleale.coelho.fi ([176.9.41.70]:36010 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751041AbdAWL4h (ORCPT ); Mon, 23 Jan 2017 06:56:37 -0500 From: Luca Coelho To: linux-wireless@vger.kernel.org Cc: =?UTF-8?q?J=C3=BCrg=20Billeter?= , Luca Coelho Date: Mon, 23 Jan 2017 13:56:21 +0200 Message-Id: <20170123115622.23587-2-luca@coelho.fi> (sfid-20170123_125639_910685_AA53A9E9) In-Reply-To: <20170123115622.23587-1-luca@coelho.fi> References: <20170123115622.23587-1-luca@coelho.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Subject: [PATCH 1/2] iwlwifi: fix double hyphen in MODULE_FIRMWARE for 8000 Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Jürg Billeter Mistakenly, the driver is trying to load the 8000C firmware with an incorrect name (i.e. with two hyphens where there should be only one) and that fails. Fix that by removing the hyphen from the format macro. Fixes: e1ba684f762b ("iwlwifi: 8000: fix MODULE_FIRMWARE input") Signed-off-by: Jürg Billeter Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/iwl-8000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-8000.c b/drivers/net/wireless/intel/iwlwifi/iwl-8000.c index d02ca1491d16..8d3e53fac1da 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-8000.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-8000.c @@ -91,7 +91,7 @@ #define IWL8000_FW_PRE "iwlwifi-8000C-" #define IWL8000_MODULE_FIRMWARE(api) \ - IWL8000_FW_PRE "-" __stringify(api) ".ucode" + IWL8000_FW_PRE __stringify(api) ".ucode" #define IWL8265_FW_PRE "iwlwifi-8265-" #define IWL8265_MODULE_FIRMWARE(api) \ -- 2.11.0