File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -426,16 +426,16 @@ static int ks_wlan_set_rate(struct net_device *dev,
426
426
priv -> reg .rate_set .body [3 ] =
427
427
TX_RATE_11M ;
428
428
i ++ ;
429
- /* fall through */
429
+ fallthrough ;
430
430
case 5500000 :
431
431
priv -> reg .rate_set .body [2 ] = TX_RATE_5M ;
432
432
i ++ ;
433
- /* fall through */
433
+ fallthrough ;
434
434
case 2000000 :
435
435
priv -> reg .rate_set .body [1 ] =
436
436
TX_RATE_2M | BASIC_RATE ;
437
437
i ++ ;
438
- /* fall through */
438
+ fallthrough ;
439
439
case 1000000 :
440
440
priv -> reg .rate_set .body [0 ] =
441
441
TX_RATE_1M | BASIC_RATE ;
@@ -491,17 +491,17 @@ static int ks_wlan_set_rate(struct net_device *dev,
491
491
priv -> reg .rate_set .body [11 ] =
492
492
TX_RATE_54M ;
493
493
i ++ ;
494
- /* fall through */
494
+ fallthrough ;
495
495
case 48000000 :
496
496
priv -> reg .rate_set .body [10 ] =
497
497
TX_RATE_48M ;
498
498
i ++ ;
499
- /* fall through */
499
+ fallthrough ;
500
500
case 36000000 :
501
501
priv -> reg .rate_set .body [9 ] =
502
502
TX_RATE_36M ;
503
503
i ++ ;
504
- /* fall through */
504
+ fallthrough ;
505
505
case 24000000 :
506
506
case 18000000 :
507
507
case 12000000 :
@@ -578,17 +578,17 @@ static int ks_wlan_set_rate(struct net_device *dev,
578
578
TX_RATE_6M | BASIC_RATE ;
579
579
i ++ ;
580
580
}
581
- /* fall through */
581
+ fallthrough ;
582
582
case 5500000 :
583
583
priv -> reg .rate_set .body [2 ] =
584
584
TX_RATE_5M | BASIC_RATE ;
585
585
i ++ ;
586
- /* fall through */
586
+ fallthrough ;
587
587
case 2000000 :
588
588
priv -> reg .rate_set .body [1 ] =
589
589
TX_RATE_2M | BASIC_RATE ;
590
590
i ++ ;
591
- /* fall through */
591
+ fallthrough ;
592
592
case 1000000 :
593
593
priv -> reg .rate_set .body [0 ] =
594
594
TX_RATE_1M | BASIC_RATE ;
You can’t perform that action at this time.
0 commit comments