]> 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)
commit127bbaea9dec4ce4b8436df8d7b78dce804a36f0
treea84f476ee1d15917f186e267e67374b024fd8fc4
parente37a06682c1bacf50b5e57b626146c47a6344725
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