huawei: plugin already processes generic tags

So don't re-process them in the generic modem when grabbing the port.
This commit is contained in:
Aleksander Morgado
2020-08-11 11:41:43 +02:00
parent 824ad11356
commit b2621b4336
4 changed files with 22 additions and 5 deletions

View File

@@ -42,15 +42,18 @@ typedef struct _MMPortSerialAtPrivate MMPortSerialAtPrivate;
* only when connecting is port 0 opened for dialing (ATD) and PPP
*/
typedef enum { /*< underscore_name=mm_port_serial_at_flag >*/
MM_PORT_SERIAL_AT_FLAG_NONE = 0,
MM_PORT_SERIAL_AT_FLAG_NONE = 0,
/* This port is preferred for command and status */
MM_PORT_SERIAL_AT_FLAG_PRIMARY = 1 << 0,
MM_PORT_SERIAL_AT_FLAG_PRIMARY = 1 << 0,
/* Use port for command and status if the primary port is connected */
MM_PORT_SERIAL_AT_FLAG_SECONDARY = 1 << 1,
MM_PORT_SERIAL_AT_FLAG_SECONDARY = 1 << 1,
/* This port should be used for PPP */
MM_PORT_SERIAL_AT_FLAG_PPP = 1 << 2,
MM_PORT_SERIAL_AT_FLAG_PPP = 1 << 2,
/* This port should be used for GPS control */
MM_PORT_SERIAL_AT_FLAG_GPS_CONTROL = 1 << 3,
MM_PORT_SERIAL_AT_FLAG_GPS_CONTROL = 1 << 3,
/* Helper flag to allow plugins specify that generic tags shouldn't be
* applied */
MM_PORT_SERIAL_AT_FLAG_NONE_NO_GENERIC = 1 << 4,
} MMPortSerialAtFlag;
typedef gboolean (*MMPortSerialAtResponseParserFn) (gpointer user_data,