Fix minor issue in HT40 max rate determination
Commit a1b790eb9d
('Select AP based on
estimated maximum throughput') had a copy-paste bug than ended up
leaving one of the max_ht40_rate() cases unreachable. (CID 106087)
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
347c55e216
commit
8b2b718da9
1 changed files with 1 additions and 1 deletions
|
@ -1861,7 +1861,7 @@ static unsigned int max_ht40_rate(int snr)
|
|||
return 81000; /* HT40 MCS4 */
|
||||
if (snr < 22)
|
||||
return 108000; /* HT40 MCS5 */
|
||||
if (snr < 22)
|
||||
if (snr < 24)
|
||||
return 121500; /* HT40 MCS6 */
|
||||
return 135000; /* HT40 MCS7 */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue