qcacld-3.0: Fix assert in wma_rx_service_ready_ext_event API

In case of legacy/old platform, extended caps are not provided and
number of supported hw modes is expected to come as zero. Due to
bug in a code, driver is going ahead and try to allocated memory
with size of 0 bytes which is causing the assert.

Change-Id: I37adf5ba4e1b1100af06da0a37466a5531be5880
CRs-Fixed: 1040063
1 file changed
tree: 2a4bfb7372966f6521a09729a4061a3a33d1f841
  1. config/
  2. core/
  3. target/
  4. uapi/
  5. Android.mk
  6. Kbuild
  7. Kconfig
  8. Makefile
  9. README.txt