diff options
author | Luca Coelho <[email protected]> | 2017-09-02 11:05:22 +0300 |
---|---|---|
committer | Luca Coelho <[email protected]> | 2017-09-08 11:49:15 +0300 |
commit | 3f497de997c7ed34ad8a90b64f1ca53a41d428b4 (patch) | |
tree | 8d18fd664a2bfa59668dc67526614964507d5a90 /drivers/fpga | |
parent | 61e7d91bcf7725b9fcd9cbfc5fa0e0f84f19e6de (diff) |
iwlwifi: mvm: initialize status in iwl_mvm_add_int_sta_common()
We always need to initialize the status argument to the success case
before calling iwl_mvm_send_cmd_status() or
iwl_mvm_send_cmd_pdu_status() (which calls the former) otherwise we
may get an uninitialized value back. In this case, we use
ADD_STA_SUCCESS as success.
Fixes: 732d06e9d9cf ("iwlwifi: mvm: add station before allocating a queue")
Reported by: Dan Carpenter <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions