]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.1.9/wl12xx-restore-testmode-abi.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.1.9 / wl12xx-restore-testmode-abi.patch
1 From 3f1764945eaac532c20ab1f23afa352a40f797b2 Mon Sep 17 00:00:00 2001
2 From: Pontus Fuchs <pontus.fuchs@gmail.com>
3 Date: Thu, 1 Dec 2011 12:13:44 +0100
4 Subject: wl12xx: Restore testmode ABI
5
6 From: Pontus Fuchs <pontus.fuchs@gmail.com>
7
8 commit 3f1764945eaac532c20ab1f23afa352a40f797b2 upstream.
9
10 Commit 80900d0140a7648587982c8f299830e900e49165 accidently broke
11 the ABI for testmode commands. Restore the ABI again.
12
13 Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
14 Signed-off-by: Luciano Coelho <coelho@ti.com>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16
17 ---
18 drivers/net/wireless/wl12xx/testmode.c | 1 +
19 1 file changed, 1 insertion(+)
20
21 --- a/drivers/net/wireless/wl12xx/testmode.c
22 +++ b/drivers/net/wireless/wl12xx/testmode.c
23 @@ -36,6 +36,7 @@ enum wl1271_tm_commands {
24 WL1271_TM_CMD_TEST,
25 WL1271_TM_CMD_INTERROGATE,
26 WL1271_TM_CMD_CONFIGURE,
27 + WL1271_TM_CMD_NVS_PUSH, /* Not in use. Keep to not break ABI */
28 WL1271_TM_CMD_SET_PLT_MODE,
29 WL1271_TM_CMD_RECOVER,
30