Commit e00b7b8b authored by Johannes Berg's avatar Johannes Berg Committed by Luca Coelho

iwlwifi: add fall through comment

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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 76dd61d2
...@@ -1471,6 +1471,7 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context) ...@@ -1471,6 +1471,7 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context)
break; break;
default: default:
WARN(1, "Invalid fw type %d\n", fw->type); WARN(1, "Invalid fw type %d\n", fw->type);
/* fall through */
case IWL_FW_MVM: case IWL_FW_MVM:
op = &iwlwifi_opmode_table[MVM_OP_MODE]; op = &iwlwifi_opmode_table[MVM_OP_MODE];
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment