]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iwlwifi: mvm: fix accessing fw_id_to_mac_id
authorSara Sharon <sara.sharon@intel.com>
Thu, 26 Jan 2017 12:43:32 +0000 (14:43 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 24 Mar 2017 14:59:46 +0000 (16:59 +0200)
commita95600294157ca7527ee7c70249fb53e09d8c566
tree31168d08682a9edc6a42342e8f17dc73166c8c7d
parent6be3b6cce1e225f189b68b4e84fc711d19b4277b
iwlwifi: mvm: fix accessing fw_id_to_mac_id

Access should be by rcu_dereference. Issue was found by sparse.

Fixes: 65e254821cee ("iwlwifi: mvm: use firmware station PM notification for AP_LINK_PS")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c