wlan: Validate the disassoc reason code correctly.

When supplicant is sending del station with reason code 2,
driver will compare this reason code with the disassoc
trigger reason eLIM_LINK_MONITORING_DISASSOC instead of the
actual disassoc reason code. Due to which the driver assumes
this as an internally generated event and does not send the
disassoc indication to supplicant and the supplicant keeps
retrying with the del station and the connection always
fails.

To address this issue, validate disassoc reason in the
disassoc req with actual disassoc reason codes intead
of disassoc trigger reason code.

CRs-Fixed: 879937
Change-Id: I0556a7c25f4166db5c8ad573f483f198e58911e2
2 files changed
tree: 6a66331862694fab61a07ab7c82f46bc39ac7335
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile