summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2017-09-02 10:05:22 +0200
committerLuca Coelho <luciano.coelho@intel.com>2017-09-08 10:49:15 +0200
commit3f497de997c7ed34ad8a90b64f1ca53a41d428b4 (patch)
tree8d18fd664a2bfa59668dc67526614964507d5a90 /fs/locks.c
parentiwlwifi: mvm: handle FIF_ALLMULTI when setting multicast addresses (diff)
downloadlinux-3f497de997c7ed34ad8a90b64f1ca53a41d428b4.tar.xz
linux-3f497de997c7ed34ad8a90b64f1ca53a41d428b4.zip
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 <dan.carpenter@oracle.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions