rescueOS/kernel-patches/0001-net-wireless-wl1251-update-firmware-path.patch
Daniel Gnoutcheff 8f1eabb7c9 Update wl1251 firmware loading path
The wl1251 driver in upstream linux kernels expects its firmware files
to live at
  ti-connectivity/wl1251-fw.bin
  ti-connectivity/wl1251-nvs.bin
and the linux-firmware package uses the same names for these files.
However, our current (older) kernel still expects them to be named
  wl1251-fw.bin
  wl1251-nvs.bin
and so firmware loading would fail.

RescueOS v1.1 included these files under the older filenames, but we'd
like to use the official (upstream) names.  Patch our kernel to match.

Also remove the unnecessary (and now erroneous) firmware check from
setup-wpa-wifi.sh.
2015-04-02 21:16:33 -04:00

37 sor
1.3 KiB
Diff

From 4dc2cc73fa172892f817440877565018aa2f07c9 Mon Sep 17 00:00:00 2001
From: Felipe Balbi <balbi@ti.com>
Date: Wed, 2 Oct 2013 08:00:48 -0500
Subject: [PATCH] net: wireless: wl1251: update firmware path
Backported from 9f55c6201354183345fa06c6986668d159b6507f
TI firmwares are located under ti-connectivity
directory. Update path to make sure driver can
find and load firmware blob.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Backported-by: Daniel Gnoutcheff <daniel@gnoutcheff.name>
---
drivers/net/wireless/wl1251/wl1251.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/wl1251/wl1251.h b/drivers/net/wireless/wl1251/wl1251.h
index a7f98a7..f705b5d 100644
--- a/drivers/net/wireless/wl1251/wl1251.h
+++ b/drivers/net/wireless/wl1251/wl1251.h
@@ -425,8 +425,8 @@ void wl1251_disable_interrupts(struct wl1251 *wl);
#define CHIP_ID_1271_PG10 (0x4030101)
#define CHIP_ID_1271_PG20 (0x4030111)
-#define WL1251_FW_NAME "wl1251-fw.bin"
-#define WL1251_NVS_NAME "wl1251-nvs.bin"
+#define WL1251_FW_NAME "ti-connectivity/wl1251-fw.bin"
+#define WL1251_NVS_NAME "ti-connectivity/wl1251-nvs.bin"
#define WL1251_POWER_ON_SLEEP 10 /* in miliseconds */
--
1.9.1