]> asedeno.scripts.mit.edu Git - linux.git/commit
ath10k: add default value for num_peers in WMI TLV init
authorErik Stromdahl <erik.stromdahl@gmail.com>
Thu, 13 Sep 2018 14:45:05 +0000 (16:45 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Oct 2018 13:55:13 +0000 (16:55 +0300)
commit8e8374db3424c0ee3e399525ac737cc6a0814d19
treea69a774df12b6cef66f1a1fad9b3527f46cf5bcc
parent234e4307cf7f9b43842395295a224740e220d019
ath10k: add default value for num_peers in WMI TLV init

The hw_params value will only be used if it was explicitly set in the
global hw_params array.

This makes it possible to have the num_peers member unset.

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/wmi-tlv.c