diag: Fix pointer for correct parsing

Mistakenly incorrect pointer was incremented.

Change-Id: I8b8aac33831628df278e5b794ce9975232f23775
CRs-Fixed: 363226
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
This commit is contained in:
Shalabh Jain 2012-06-13 16:42:32 -07:00 committed by Stephen Boyd
parent ad867bc45c
commit 63b5b7dff4

View file

@ -1016,7 +1016,7 @@ static int diag_process_apps_pkt(unsigned char *buf, int len)
ENCODE_RSP_AND_SEND(8+rt_mask_size-1);
return 0;
}
ptr += MAX_SSID_PER_RANGE*4;
rt_mask_ptr += MAX_SSID_PER_RANGE*4;
}
} else
buf = temp;