qcacld-2.0: Trim operation classes to max supported in change station

Operation classes supported can be controlled by user, which can
be sent greater than the max supported operations. This results
in stack overflow in change station command.

Add check to validate operations supported param given by user
and if it exceeds max supported value, set it to max supported
value.

CRs-Fixed: 2002052
Change-Id: Idd3a35e38b091546a17d7ec6329f19429e5c289c

FPIIM-687

Change-Id: I4c29bb2ff2fd04b24bf6d36f745dc3f0d8794cc8
1 file changed
tree: 9fe6fa816b45bb3c4ac37b71b5da06239cda0abe
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile