Skip to contentSkip to conversation

staging: vt6656: vnt_rf_setpower: fix missing rate RATE_12M

PATCH In review Malcolm Priestley 2 participants 4 messages Mar 7, 2015 – Mar 26, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6656: vnt_rf_setpower: fix missing rate RATE_12M

When the driver sets this rate a power of zero value is set causing data flow stoppage until another rate is tried.

---
 drivers/staging/vt6656/rf.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/vt6656/rf.c +1 -0
index c42cde5..c4286cc 100644
@@ -640,6 +640,7 @@ int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel)
 		break;
 	case RATE_6M:
 	case RATE_9M:
+	case RATE_12M:
 	case RATE_18M:
 	case RATE_24M:
 	case RATE_36M:
Signature · 1 line
2.1.4
#1 lore raw

Hi Malcolm,

Quoted 5 lines · Malcolm Priestley

When the driver sets this rate a power of zero value is set causing data flow stoppage until another rate is tried.

Is there a reason for this patch being tagged for stable v3.17+ ?

I'm asking because there's a similar commit for vt6655 (40c8790bcb7a "vt6655: RFbSetPower fix missing rate RATE_12M") which was tagged for stable without the "v3.17+", and thus I assume applicable to other trees as well (e.g. 3.16).

Cheers,
--
Luís

Quoted 23 lines
---
 drivers/staging/vt6656/rf.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/vt6656/rf.c +1 -0
index c42cde5..c4286cc 100644
@@ -640,6 +640,7 @@ int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel)
 		break;
 	case RATE_6M:
 	case RATE_9M:
+	case RATE_12M:
 	case RATE_18M:
 	case RATE_24M:
 	case RATE_36M:
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 10 lines · Luis Henriques

Hi Malcolm,

Quoted 5 lines · Malcolm Priestley

When the driver sets this rate a power of zero value is set causing data flow stoppage until another rate is tried.

Is there a reason for this patch being tagged for stable v3.17+ ?

Hi Luis

Sorry I thought it wouldn't apply to 3.16.

I need to do a backport patch for earlier kernels.

Regards

Malcolm

#3 lore raw
Quoted 12 lines · Malcolm Priestley
Quoted 9 lines · Luis Henriques

Hi Malcolm,

Quoted 5 lines · Malcolm Priestley

When the driver sets this rate a power of zero value is set causing data flow stoppage until another rate is tried.

Quoted 7 lines
Quoted 1 line

Is there a reason for this patch being tagged for stable v3.17+ ?

Hi Luis

Sorry I thought it wouldn't apply to 3.16.

I need to do a backport patch for earlier kernels.

Awesome, thanks for the quick reply.

Commit 163fe301b9f78b6de57d0014eafe504fd20c0cd4 is a clean cherry-pick to 3.16 kernel, but I haven't check which other kernels it should also be applied to.

Cheers,
--
Luís

Quoted 4 lines

Regards

Malcolm