Harden the CGREG parsing function
authorDenis Kenzior <denkenz@gmail.com>
Tue, 8 Dec 2009 09:43:54 +0000 (03:43 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 8 Dec 2009 09:43:54 +0000 (03:43 -0600)
commit07bdfc6bceb25c17d6c86377db9dc337a62954f9
tree1ccfb38f54aacda3c270eba143c39457c64c3a1b
parent81d7cd4e1251720bc9e3fca1bebe52936d07949c
Harden the CGREG parsing function

Sometimes the CGREG query and CGREG unsolicited notification get
intermixed.  Since they have the same prefix, GAtChat clumps them
together.  Make sure the parser skips the unsolicited notification.
drivers/atmodem/gprs.c