ath10k: fix TLV set regdomain command
authorErik Stromdahl <erik.stromdahl@gmail.com>
Sun, 27 Nov 2016 19:37:20 +0000 (20:37 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 1 Dec 2016 11:09:03 +0000 (13:09 +0200)
commit4e322f7db51a52caa3d2c1f795ba26dacdcf8fde
tree2319303f644c19bfea4d4950b4e66862e7f7de7e
parent87fedb974e0ceaf2a4200b7abb64054fa031cf85
ath10k: fix TLV set regdomain command

There is a typo bug in the current implementation of
ath10k_wmi_tlv_op_gen_pdev_set_rd.
The conformance test limits are not set up properly.

The two arguments ctl2g and ctl5g were not used at all.
Instead, the regdomain arguments rd2g and rd5g were used
for the ctl settings as well.

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