staging: r8712u: Fix rate setting when HT is not enabled
When operating in normal bg mode, the maximum rate was fixed at 48 Mb/s. Signed-off-by: Albert Wang <albert_wang@realtek.com.tw> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
c3747e6650
commit
1407a9e105
1 changed files with 2 additions and 0 deletions
|
@ -1371,6 +1371,8 @@ static int r8711_wx_get_rate(struct net_device *dev,
|
|||
135) : ((short_GI) ? 72 : 65);
|
||||
max_rate *= 2; /* Mbps/2 */
|
||||
wrqu->bitrate.value = max_rate * 500000;
|
||||
} else {
|
||||
wrqu->bitrate.value = max_rate * 500000;
|
||||
}
|
||||
} else
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue