[PATCH 5.17 217/225] tty: n_gsm: fix incorrect UA handling