diff chipsetsw/riviera/rvt/rvt_task.c @ 9:7ee1a8f57933

RVT changes for AT channel support backported from FreeCalypso GSM fw
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 19:02:17 +0000
parents 509db1a7b7b8
children
line wrap: on
line diff
--- a/chipsetsw/riviera/rvt/rvt_task.c	Mon Jun 01 18:55:21 2015 +0000
+++ b/chipsetsw/riviera/rvt/rvt_task.c	Mon Jun 01 19:02:17 2015 +0000
@@ -437,14 +437,8 @@
 				(bytesRead) && \
 				!(total_bytesRead))
 			{
-				if ((inBuffer[0] == RVT_RV_HEADER) || \
-					(inBuffer[0] == RVT_L1_HEADER) || \
-					(inBuffer[0] == RVT_L23_HEADER) || \
-					(inBuffer[0] == RVT_TM_HEADER) || \
-					(inBuffer[0] == RVT_RNET_HEADER) || \
-					(inBuffer[0] == RVT_PROF_HEADER) || \
-					(inBuffer[0] == RVT_GTTBACK_HEADER) || \
-					(inBuffer[0] == RVT_OTHER_HEADER))
+				if ((inBuffer[0] >= RVT_RV_HEADER) &&
+				    (inBuffer[0] <= RVT_EXTUI_HEADER))
 				{
 					UINT8  idtab = 0;