File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -142,23 +142,23 @@ u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee)
142
142
{
143
143
u16 i ;
144
144
u8 query_rate = 0 ;
145
- u8 BasicRate ;
145
+ u8 basic_rate ;
146
146
147
147
for (i = 0 ; i < ieee -> current_network .rates_len ; i ++ ) {
148
- BasicRate = ieee -> current_network .rates [i ] & 0x7F ;
149
- if (!rtllib_is_cck_rate (BasicRate )) {
148
+ basic_rate = ieee -> current_network .rates [i ] & 0x7F ;
149
+ if (!rtllib_is_cck_rate (basic_rate )) {
150
150
if (query_rate == 0 ) {
151
- query_rate = BasicRate ;
151
+ query_rate = basic_rate ;
152
152
} else {
153
- if (BasicRate < query_rate )
154
- query_rate = BasicRate ;
153
+ if (basic_rate < query_rate )
154
+ query_rate = basic_rate ;
155
155
}
156
156
}
157
157
}
158
158
159
159
if (query_rate == 0 ) {
160
160
query_rate = 12 ;
161
- netdev_info (ieee -> dev , "No BasicRate found!!\n" );
161
+ netdev_info (ieee -> dev , "No basic_rate found!!\n" );
162
162
}
163
163
return query_rate ;
164
164
}
You can’t perform that action at this time.
0 commit comments