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