G1: Add an SMS quirk for CNMI mode
authorAndres Salomon <dilinger@collabora.co.uk>
Wed, 2 Sep 2009 23:35:40 +0000 (19:35 -0400)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Sep 2009 02:06:03 +0000 (19:06 -0700)
commitaceaac4b7b06cc64bd872c095c5aa09a2a8b329d
treefbf1208d2e80af24856f276f9004aefcba36fab6
parent3bb7fbd5d5779f267ce248504592e64f9da18629
G1: Add an SMS quirk for CNMI mode

The G1 doesn't support mode2, despite advertising it.

The G1 chokes w/ an "Error 303" when we specify NMI mode 2.  Adding a
quirk to drop that mode from the supported list (just use mode 1) allows
the G1 to properly deal with SMS.
drivers/atmodem/sms.c
drivers/atmodem/vendor.h
plugins/g1.c