]> git.baikalelectronics.ru Git - kernel.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)
commit6a18952350273b3d3a3eabda9ec9de44ce512cfc
treea69a774df12b6cef66f1a1fad9b3527f46cf5bcc
parent16d1428cc8d64572fa5e636bca9dfcfb9c9d98a6
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