.. | .. |
---|
7 | 7 | * |
---|
8 | 8 | * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. |
---|
9 | 9 | * Copyright(c) 2017 Intel Deutschland GmbH |
---|
| 10 | + * Copyright(c) 2018 - 2019 Intel Corporation |
---|
10 | 11 | * |
---|
11 | 12 | * This program is free software; you can redistribute it and/or modify |
---|
12 | 13 | * it under the terms of version 2 of the GNU General Public License as |
---|
.. | .. |
---|
16 | 17 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
18 | 19 | * General Public License for more details. |
---|
19 | | - * |
---|
20 | | - * You should have received a copy of the GNU General Public License |
---|
21 | | - * along with this program; if not, write to the Free Software |
---|
22 | | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, |
---|
23 | | - * USA |
---|
24 | 20 | * |
---|
25 | 21 | * The full GNU General Public License is included in this distribution |
---|
26 | 22 | * in the file called COPYING. |
---|
.. | .. |
---|
33 | 29 | * |
---|
34 | 30 | * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. |
---|
35 | 31 | * Copyright(c) 2017 Intel Deutschland GmbH |
---|
| 32 | + * Copyright(c) 2018 - 2019 Intel Corporation |
---|
36 | 33 | * All rights reserved. |
---|
37 | 34 | * |
---|
38 | 35 | * Redistribution and use in source and binary forms, with or without |
---|
.. | .. |
---|
118 | 115 | switch (mode) { |
---|
119 | 116 | case IWL_LED_BLINK: |
---|
120 | 117 | IWL_ERR(mvm, "Blink led mode not supported, used default\n"); |
---|
| 118 | + /* fall through */ |
---|
121 | 119 | case IWL_LED_DEFAULT: |
---|
122 | 120 | case IWL_LED_RF_STATE: |
---|
123 | 121 | mode = IWL_LED_RF_STATE; |
---|
.. | .. |
---|
161 | 159 | * if we control through the register, we're doing it |
---|
162 | 160 | * even when the firmware isn't up, so no need to sync |
---|
163 | 161 | */ |
---|
164 | | - if (mvm->cfg->device_family < IWL_DEVICE_FAMILY_8000) |
---|
| 162 | + if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_8000) |
---|
165 | 163 | return; |
---|
166 | 164 | |
---|
167 | 165 | iwl_mvm_led_set(mvm, mvm->led.brightness > 0); |
---|