prima: Fill RSO Stop reason in RSO Request
In Roam Scan Offload (RSO), if the command is Stop, host
is not filling the reason for stop. As a result in the
callback context the stop reason being zero, a NCHO
roaming is not triggered by host. This is fixed here.
Change-Id: Ic968ca0f0c3996c727412f95d60df9a50ddef855
CRs-Fixed: 790496
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index 2c7974c..d8ef131 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -16325,6 +16325,7 @@
if(command == ROAM_SCAN_OFFLOAD_STOP)
{
pRequestBuf->RoamScanOffloadEnabled = 0;
+ pRequestBuf->StartScanReason = reason;
/*For a STOP Command, there is no need to
* go through filling up all the below parameters
* since they are not required for the STOP command*/