wlan: Fix for issue where RIVA does not get into BMPS mode.

The reason riva does not enter in to power save is because after the
connection to the AP (Configured 40Mhz channel in 2.4Ghz) the driver
sends the invalid cb mode in the finish scan request to the Riva if we
are in scan window. The issue does not show up if we are not in scan
window.
The reason driver sends the invalid cb mode is because after receiving
the join beacon the variable
psessionEntry->htSecondaryChannelOffset in the function
limCheckAndAnnounceJoinSuccess is over writing with the AP secondary
offset.
The variable PE session is our capability
psessionEntry->htSecondaryChannelOffset and it should not be over
written with the AP secondary offset.

Change-Id: I704f89a562638f23d3f55d06d9fcf3812986ce78
CRs-Fixed: NA
1 file changed
tree: 9cbd3752ae5d9e39944d2a05ca24c6b978439d4e
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Kconfig
  5. Makefile