Commit 04fd2763 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Zefan Li

vt6655: RFbSetPower fix missing rate RATE_12M

commit 40c8790b upstream.

When the driver sets this rate a power of zero value is set causing
data flow stoppage until another rate is tried.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
[lizf: Backported to 3.4: adjust indentation]
Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
parent 13f2db83
...@@ -1029,6 +1029,7 @@ unsigned char byPwrdBm = 0; ...@@ -1029,6 +1029,7 @@ unsigned char byPwrdBm = 0;
break; break;
case RATE_6M: case RATE_6M:
case RATE_9M: case RATE_9M:
case RATE_12M:
case RATE_18M: case RATE_18M:
byPwr = pDevice->abyOFDMPwrTbl[uCH]; byPwr = pDevice->abyOFDMPwrTbl[uCH];
if (pDevice->byRFType == RF_UW2452) { if (pDevice->byRFType == RF_UW2452) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment