.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2014 Felix Fietkau <nbd@openwrt.org> |
---|
3 | 4 | * Copyright (C) 2015 Jakub Kicinski <kubakici@wp.pl> |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 |
---|
7 | | - * as published by the Free Software Foundation |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope that it will be useful, |
---|
10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | | - * GNU General Public License for more details. |
---|
13 | 5 | */ |
---|
14 | 6 | |
---|
15 | 7 | #include "mt7601u.h" |
---|
.. | .. |
---|
53 | 45 | return; |
---|
54 | 46 | case MT_PHY_TYPE_HT_GF: |
---|
55 | 47 | txrate->flags |= IEEE80211_TX_RC_GREEN_FIELD; |
---|
56 | | - /* fall through */ |
---|
| 48 | + fallthrough; |
---|
57 | 49 | case MT_PHY_TYPE_HT: |
---|
58 | 50 | txrate->flags |= IEEE80211_TX_RC_MCS; |
---|
59 | 51 | txrate->idx = idx; |
---|
.. | .. |
---|
427 | 419 | return; |
---|
428 | 420 | case MT_PHY_TYPE_HT_GF: |
---|
429 | 421 | status->enc_flags |= RX_ENC_FLAG_HT_GF; |
---|
430 | | - /* fall through */ |
---|
| 422 | + fallthrough; |
---|
431 | 423 | case MT_PHY_TYPE_HT: |
---|
432 | 424 | status->encoding = RX_ENC_HT; |
---|
433 | 425 | status->rate_idx = idx; |
---|