]> git.hungrycats.org Git - linux/commit
iwlwifi: mvm: check TLV flag before trying to use hotspot firmware commands
authorLuciano Coelho <luciano.coelho@intel.com>
Tue, 21 Oct 2014 13:12:18 +0000 (16:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Dec 2014 23:57:33 +0000 (15:57 -0800)
commitfb14996c2a555322ae2610d783e614430b259592
tree9cef8507878ef3d3eb3085d4149db1405c7cfbae
parent4e709ff658f620bba0c1eb2e0925df2ccc4439ea
iwlwifi: mvm: check TLV flag before trying to use hotspot firmware commands

commit 5ac6c72e594471acfa5b00210c51d533a73413ad upstream.

Older firmwares do not provide support for the HOT_SPOT_CMD command.
Check for the appropriate TLV flag that declares hotspot support in
the firmware to prevent a firmware assertion failure that can be
triggered from the userspace,

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/iwl-fw.h
drivers/net/wireless/iwlwifi/mvm/mac80211.c