[iwmgmt] Remove use of NET80211_RATE_VALUE
authorJoshua Oreman <oremanj@xenon.get-linux.org>
Sat, 20 Jun 2009 06:04:33 +0000 (23:04 -0700)
committerJoshua Oreman <oremanj@xenon.get-linux.org>
Sat, 20 Jun 2009 06:04:33 +0000 (23:04 -0700)
src/usr/iwmgmt.c

index 75efe36..4e67eba 100644 (file)
@@ -66,8 +66,7 @@ void iwstat ( struct net80211_device *dev ) {
                        printf ( " dBm" );
                        break;
                }
-               printf ( ", Rate:%d Mbps]\n",
-                        NET80211_RATE_VALUE ( dev->rates[dev->rate] ) / 10 );
+               printf ( ", Rate:%d Mbps]\n", dev->rates[dev->rate] / 10 );
        } else {
                printf ( "antenna off]\n" );
        }