atutil: Ignore invalid CLCC results
authorDenis Kenzior <denkenz@gmail.com>
Fri, 24 Feb 2012 05:14:08 +0000 (23:14 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 28 Feb 2012 02:28:42 +0000 (20:28 -0600)
commit876fb9e1b469ee15332a4e74ceb130bd75a6cc6c
tree7afb9bf193ace2af9f2c720bf5b4e806c80c3d38
parentfb43a3274380a464dcceecba1d9d258f2bb21012
atutil: Ignore invalid CLCC results

Some phones report CLCC calls with out-of-range info.  E.g. call index
being 0 (it is 1 based according to 27.007) and call states being
reported as '6' (valid call states are 0-5.)
drivers/atmodem/atutil.c