Skip to contentSkip to conversation

wl12xx: Restore testmode ABI

PATCH Applied Pontus Fuchs 3 participants 4 messages Dec 1, 2011 – Dec 15, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wl12xx: Restore testmode ABI

Commit 80900d0140a7648587982c8f299830e900e49165 accidently broke the ABI for testmode commands. Restore the ABI again.

---
 drivers/net/wireless/wl12xx/testmode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/wl12xx/testmode.c +1 -0
index 61fff45..5b3f781 100644
@@ -37,6 +37,7 @@ enum wl1271_tm_commands {
 	WL1271_TM_CMD_TEST,
 	WL1271_TM_CMD_INTERROGATE,
 	WL1271_TM_CMD_CONFIGURE,
+	WL1271_TM_CMD_NVS_PUSH,		/* Not in use. Keep to not break ABI */
 	WL1271_TM_CMD_SET_PLT_MODE,
 	WL1271_TM_CMD_RECOVER,
 
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 3 lines · Pontus Fuchs

Commit 80900d0140a7648587982c8f299830e900e49165 accidently broke the ABI for testmode commands. Restore the ABI again.

[...]

drivers/net/wireless/wl12xx/testmode.c enum wl1271_tm_commands { · line 40

Quoted 7 lines
drivers/net/wireless/wl12xx/testmode.c +1 -0
@@ -37,6 +37,7 @@ enum wl1271_tm_commands {
 	WL1271_TM_CMD_TEST,
 	WL1271_TM_CMD_INTERROGATE,
 	WL1271_TM_CMD_CONFIGURE,
+	WL1271_TM_CMD_NVS_PUSH,		/* Not in use. Keep to not break ABI */

Better to call it WL1271_TM_CMD_UNUSED1, or something like that, so that it really stays unused.

Signature · 1 line
Kalle Valo
#2 lore raw

Hi Kalle,

Quoted 8 lines · Kalle Valo
Quoted 3 lines · Pontus Fuchs

Commit 80900d0140a7648587982c8f299830e900e49165 accidently broke the ABI for testmode commands. Restore the ABI again.

[...]

Quoted 10 lines

drivers/net/wireless/wl12xx/testmode.c enum wl1271_tm_commands { · line 40

Quoted 7 lines
drivers/net/wireless/wl12xx/testmode.c +1 -0
@@ -37,6 +37,7 @@ enum wl1271_tm_commands {
 	WL1271_TM_CMD_TEST,
 	WL1271_TM_CMD_INTERROGATE,
 	WL1271_TM_CMD_CONFIGURE,
+	WL1271_TM_CMD_NVS_PUSH,		/* Not in use. Keep to not break ABI */

Better to call it WL1271_TM_CMD_UNUSED1, or something like that, so that it really stays unused.

As we discussed briefly on IRC, I think it's a better idea to keep it as is. If anyone still uses it (despite the comment saying it's not in use), we will return -EOPNOTSUPP.

Signature · 2 lines
Cheers,
Luca.