]> git.baikalelectronics.ru Git - kernel.git/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)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 23 Nov 2014 19:50:57 +0000 (21:50 +0200)
commiteaa10cb4f92b93a9380e4d5a331f5301a47d2f6c
treea84f476ee1d15917f186e267e67374b024fd8fc4
parent54f5778c9496f1315e3d3094fb0e066ea5360b0e
iwlwifi: mvm: check TLV flag before trying to use hotspot firmware commands

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,

Cc: stable@vger.kernel.org [3.17+]
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw.h
drivers/net/wireless/iwlwifi/mvm/mac80211.c