wlan: SETROAMSCANCHANNELS should take min of Number of Channels

the command format for SETROAMSCANCHANNELS is
SETROAMSCANCHANNELS N <Ch1> <Ch2> ... <Ch M>
In case of N not equal to M, Number of channels should be
Min of (N, M)
Example, SETROAMSCANCHANNELS 4 1 2 3 4 5   -> N = 4
         SETROAMSCANCHANNELS 4 1 2 3       -> N = 3

Change-Id: Ib3756200aa5f967613eac6f15b93c2739ba84366
CRs-Fixed: 466163
1 file changed
tree: 8f538778aa6db5604318209fc94715e98c465cc5
  1. CORE/
  2. firmware_bin/
  3. prima/
  4. riva/
  5. Android.mk
  6. Kbuild
  7. Kconfig