iwlwifi: check kasprintf() return value

kasprintf() can fail, we should check the return value.

Fixes: 5ed540aecc ("iwlwifi: use mac80211 throughput trigger")
Fixes: 8ca151b568 ("iwlwifi: add the MVM driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
Johannes Berg 2019-11-05 14:50:32 +01:00 • committed by Luca Coelho
commit 5974fbb5e1
2 changed files with 6 additions and 0 deletions