qcacld-3.0: Prevent overread of UP to AC mapping table

Currently the User Priority (UP) returned by hdd_wmm_classify_pkt() is
used without any checks by hdd_get_queue_index() to lookup the Access
Category (AC) in the mapping table hdd_linux_up_to_ac_map[].  Although
the UP returned by hdd_wmm_classify_pkt() should be within the valid
range, for safety add an explicit check to prevent an overread of the
table.

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