summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.12.70/mtrv1/linux-3.12-wl12xx-fix-boot-in-plt-mode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-3.12.70/mtrv1/linux-3.12-wl12xx-fix-boot-in-plt-mode.patch')
-rw-r--r--recipes-kernel/linux/linux-3.12.70/mtrv1/linux-3.12-wl12xx-fix-boot-in-plt-mode.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-3.12.70/mtrv1/linux-3.12-wl12xx-fix-boot-in-plt-mode.patch b/recipes-kernel/linux/linux-3.12.70/mtrv1/linux-3.12-wl12xx-fix-boot-in-plt-mode.patch
new file mode 100644
index 0000000..c6a40f9
--- /dev/null
+++ b/recipes-kernel/linux/linux-3.12.70/mtrv1/linux-3.12-wl12xx-fix-boot-in-plt-mode.patch
@@ -0,0 +1,19 @@
+diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c
+index 1c627da..979aec9 100644
+--- a/drivers/net/wireless/ti/wl12xx/main.c
++++ b/drivers/net/wireless/ti/wl12xx/main.c
+@@ -1236,9 +1236,11 @@ static int wl12xx_boot(struct wl1271 *wl)
+ if (ret < 0)
+ goto out;
+
+- ret = wlcore_boot_upload_nvs(wl);
+- if (ret < 0)
+- goto out;
++ if (!wl->plt) {
++ ret = wlcore_boot_upload_nvs(wl);
++ if (ret < 0)
++ goto out;
++ }
+
+ ret = wl12xx_pre_upload(wl);
+ if (ret < 0)