@@ -255,23 +255,18 @@ int vnt_vt3184_init(struct vnt_private *priv)
255
255
dev_dbg (& priv -> usb -> dev , "RF Type %d\n" , priv -> rf_type );
256
256
257
257
if ((priv -> rf_type == RF_AL2230 ) ||
258
- (priv -> rf_type == RF_AL2230S ) ||
259
- (priv -> rf_type == RF_AIROHA7230 )) {
258
+ (priv -> rf_type == RF_AL2230S )) {
260
259
priv -> bb_rx_conf = vnt_vt3184_al2230 [10 ];
261
260
length = sizeof (vnt_vt3184_al2230 );
262
261
addr = vnt_vt3184_al2230 ;
263
262
264
- if (priv -> rf_type == RF_AIROHA7230 )
265
- addr [0xd7 ] = 0x06 ;
266
-
267
263
priv -> bb_vga [0 ] = 0x1c ;
268
264
priv -> bb_vga [1 ] = 0x10 ;
269
265
priv -> bb_vga [2 ] = 0x0 ;
270
266
priv -> bb_vga [3 ] = 0x0 ;
271
267
272
268
} else if ((priv -> rf_type == RF_VT3226 ) ||
273
- (priv -> rf_type == RF_VT3226D0 ) ||
274
- (priv -> rf_type == RF_VT3342A0 )) {
269
+ (priv -> rf_type == RF_VT3226D0 )) {
275
270
priv -> bb_rx_conf = vnt_vt3184_vt3226d0 [10 ];
276
271
length = sizeof (vnt_vt3184_vt3226d0 );
277
272
c_addr = vnt_vt3184_vt3226d0 ;
@@ -305,7 +300,6 @@ int vnt_vt3184_init(struct vnt_private *priv)
305
300
goto end ;
306
301
307
302
if ((priv -> rf_type == RF_VT3226 ) ||
308
- (priv -> rf_type == RF_VT3342A0 ) ||
309
303
(priv -> rf_type == RF_VT3226D0 )) {
310
304
data = (priv -> rf_type == RF_VT3226D0 ) ? 0x11 : 0x23 ;
311
305
@@ -446,7 +440,6 @@ int vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning)
446
440
switch (priv -> rf_type ) {
447
441
case RF_AL2230 :
448
442
case RF_AL2230S :
449
- case RF_AIROHA7230 :
450
443
threshold = al2230_vnt_threshold ;
451
444
length = ARRAY_SIZE (al2230_vnt_threshold );
452
445
break ;
@@ -456,11 +449,6 @@ int vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning)
456
449
threshold = vt3226_vnt_threshold ;
457
450
length = ARRAY_SIZE (vt3226_vnt_threshold );
458
451
break ;
459
-
460
- case RF_VT3342A0 :
461
- threshold = vt3342_vnt_threshold ;
462
- length = ARRAY_SIZE (vt3342_vnt_threshold );
463
- break ;
464
452
}
465
453
466
454
if (!threshold )
0 commit comments