iwlwifi: mvm: fix scan config command size

Use the actual length of channels array and not the max capable length.

Signed-off-by: Beker Ayala <ayala.beker@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
Beker Ayala 2019-06-02 13:55:44 +03:00 • committed by Luca Coelho
commit 06eb547c4a