linux/drivers/net/wireless/intel
Luca Coelho 3f497de997 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: 732d06e9d9 ("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>
2017-09-08 11:49:15 +03:00
..
ipw2x00 wireless: ipw2x00: make iw_handler_def const 2017-08-24 12:58:17 +03:00
iwlegacy wireless: iwlegacy: Constify attribute_group structures. 2017-07-18 12:04:56 -07:00
iwlwifi iwlwifi: mvm: initialize status in iwl_mvm_add_int_sta_common() 2017-09-08 11:49:15 +03:00
Kconfig
Makefile