CHROMIUM: ath10k: CFR capture doesn't stop when disable is CFR on client

When using optional parameter facility to disable the CFR,
CFR periodicity reaching as 0 to FW, because of this FW rejects
request and CFR capture doesn't stop.

Restoring optional parameter value after successfull validation
of all user input when request is for disable.

Change-Id: I06c49e9575a2648ee2812b7b254da48a624bcbc2
Signed-off-by: Vikas Patel <vikpatel@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/1103422
Reviewed-by: Srinivasa duvvuri <sduvvuri@google.com>
Reviewed-by: Nitsan Shai <nshai@google.com>
1 file changed