wlan: Send proper IEs number when sec chan bcn filter is skipped

Even if sec chan bcn filter is skipped the count of IEs sent to
firmware include it. Due to this firmware assume that one extra
IE is sent and as the value of buffer being 0 it assume the IE
to be ssid. In case of some APs with malformed beacons the FW
keeps on waking up the host assuming the SSID has change.

To fix this if sec chan bcn filter is skipped, remove it from the
total count of IEs sent.

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