atmodem: add LTE to Telit #PSNT parser
PATCH 1/1 atmodem: add LTE to Telit #PSNT parser
Network type of 4 in Telit #PSNT command response
denotes LTE network.
--- drivers/atmodem/gprs.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/atmodem/gprs.c +0 -0
@@ -323,6 +323,9 @@ static void telit_mode_notify(GAtResult *result,
gpointer user_data)
case 3:
bearer = 5; /* HSDPA */
break;
+ case 4:
+ bearer = 7; /* LTE */
+ break;
default:
bearer = 0;
break;
Signature · 1 line
2.11.0
Hi Piotr,
Quoted 6 lines · Piotr Haber
Network type of 4 in Telit #PSNT command response
denotes LTE network.--- drivers/atmodem/gprs.c | 3 +++ 1 file changed, 3 insertions(+)
Looks fine, but doesn't apply:
Applying: atmodem: add LTE to Telit #PSNT parser
fatal: corrupt patch at line 10
Patch failed at 0001 atmodem: add LTE to Telit #PSNT parser The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".
Are you using git send-email?
Regards,
-Denis
PATCH 1/1 atmodem: add LTE to Telit #PSNT status parser
Network type of 4 in Telit #PSNT command response
denotes LTE network
--- drivers/atmodem/gprs.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/atmodem/gprs.c +3 -0
@@ -323,6 +323,9 @@ static void telit_mode_notify(GAtResult *result, gpointer user_data)case 3 : bearer =5 ;/* HSDPA */ break ; +case 4 : + bearer =7 ;/* LTE */ +break ;default : bearer =0 ;break ;
Signature · 1 line
2.11.0
Denis Kenzior
AppliedRe: [PATCH] atmodem: add LTE to Telit #PSNT status parser
Hi Piotr,
Quoted 6 lines · Piotr Haber
Network type of 4 in Telit #PSNT command response
denotes LTE network--- drivers/atmodem/gprs.c | 3 +++ 1 file changed, 3 insertions(+)
Applied, thanks.
Regards,
-Denis