UPSTREAM: 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>

(cherry picked from commit 4e322f7db51a52caa3d2c1f795ba26dacdcf8fde)

BUG=b:120112668
TEST=Connect and ping success

Change-Id: I9d654f6e42551af1f454c466b7da1cded8677de7
Signed-off-by: Wen Gong <wgong@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/1487386
Commit-Ready: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
1 file changed