Only the second change is needed then because the code already checks case-insensitive that the first 8 character are MOTOROLA. Searching with strstr() is not needed.
The change "OK" -> "CONNECT" looks like the real fix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=884799
Originator: YES
File Added: patch
Logged In: YES
user_id=356160
Originator: NO
Only the second change is needed then because the code already checks case-insensitive that the first 8 character are MOTOROLA. Searching with strstr() is not needed.
The change "OK" -> "CONNECT" looks like the real fix.
Logged In: YES
user_id=884799
Originator: YES
But "motorola" is not in the beginning of the answer, as you can see.
Logged In: YES
user_id=356160
Originator: NO
You are right, sorry for the noise. Seems to be the response from many other Motorola phones.