dect
/
linux-2.6
Archived
13
0
Fork 0

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:
Larry Finger 2010-08-30 07:51:09 -05:00
parent c3747e6650
commit 1407a9e105
1 changed files with 2 additions and 0 deletions

View File

@ -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;