wlan: Trim extn capability to max supported in change station

qcacld-2.0 to Prima Propagation.

extn capabilities can be controlled by user, which can
be sent greater than the max supported value. This results
in stack overflow in change station command.

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

CRs-Fixed: 2056828
Change-Id: I531799dd06c41069e85ad969de6182363dbf9f05
1 file changed
tree: 351fb8c91adebe97c8166d07b471e0d263932a0d
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile