projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76dd61d
)
iwlwifi: add fall through comment
author
Johannes Berg
<
[email protected]
>
Mon, 18 Jun 2018 08:22:03 +0000
(10:22 +0200)
committer
Luca Coelho
<
[email protected]
>
Sat, 6 Oct 2018 07:25:51 +0000
(10:25 +0300)
The fall-through to the MVM case is intended as we have to do
*something* to continue, and can't easily clean up. So we'll
just fail in mvm later, if this does happen.
Signed-off-by: Johannes Berg <
[email protected]
>
Signed-off-by: Luca Coelho <
[email protected]
>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/intel/iwlwifi/iwl-drv.c
b/drivers/net/wireless/intel/iwlwifi/iwl-drv.c
index 809f8daa5c1052f9af4b5ce575476250d1e5e311..ba41d23b421194f0d9203a8a60d46fb8b985f696 100644
(file)
--- a/
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
+++ b/
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
@@
-1471,6
+1471,7
@@
static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context)
break;
default:
WARN(1, "Invalid fw type %d\n", fw->type);
+ /* fall through */
case IWL_FW_MVM:
op = &iwlwifi_opmode_table[MVM_OP_MODE];
break;