ril: service: Fix breakage introduced by f7c75aa4e0
authorChristopher N. Hesse <raymanfx@gmail.com>
Fri, 23 Feb 2018 18:07:27 +0000 (19:07 +0100)
committerChristopher N. Hesse <raymanfx@gmail.com>
Tue, 6 Mar 2018 19:20:50 +0000 (19:20 +0000)
commitd26f4c920fbfffe4df90a1c82a6f46ad006e653b
tree483abf1671ef155145cd4bd29e6c226e452ca0d3
parent719630aaf691be66d922646076e5ce1b49635ee4
ril: service: Fix breakage introduced by f7c75aa4e0

Before:
    if (response == NULL || numStrings != 3) {
After:
    if (response == NULL || numStrings != mqanelements - 2) {

This patch fixes the logic so we don't change the value check.

"mqanelements" is not related to getOperatorResponse, so get get rid of
the affected code.

Change-Id: I86c6ae7b7492a5d04fbc8dc415c4f615e7d05bab
ril/libril/ril_service.cpp