aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/vntwifi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/vt6655/vntwifi.c')
-rw-r--r--drivers/staging/vt6655/vntwifi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/vntwifi.c b/drivers/staging/vt6655/vntwifi.c
index b9e70043fdf..fbe27a834ce 100644
--- a/drivers/staging/vt6655/vntwifi.c
+++ b/drivers/staging/vt6655/vntwifi.c
@@ -32,7 +32,6 @@
32 */ 32 */
33 33
34#include "vntwifi.h" 34#include "vntwifi.h"
35#include "tbit.h"
36#include "IEEE11h.h" 35#include "IEEE11h.h"
37#include "country.h" 36#include "country.h"
38#include "device.h" 37#include "device.h"
@@ -691,7 +690,7 @@ VNTWIFIwGetMaxSupportRate(
691 PSMgmtObject pMgmt = (PSMgmtObject) pMgmtObject; 690 PSMgmtObject pMgmt = (PSMgmtObject) pMgmtObject;
692 691
693 for(wRate = RATE_54M; wRate > RATE_1M; wRate--) { 692 for(wRate = RATE_54M; wRate > RATE_1M; wRate--) {
694 if (BITbIsBitOn(pMgmt->sNodeDBTable[0].wSuppRate, (1<<wRate))) { 693 if (pMgmt->sNodeDBTable[0].wSuppRate & (1<<wRate)) {
695 return (wRate); 694 return (wRate);
696 } 695 }
697 } 696 }