aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/machtypes.h
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-02-07 13:23:27 +0100
committerJohn Crispin <john@phrozen.org>2018-02-13 10:01:53 +0100
commit3508f8abb492914b6b287b5d60084acb8aff34d2 (patch)
tree4a59b7bb6d89beafaf798a11159c1949c3a2062e /target/linux/ar71xx/files/arch/mips/ath79/machtypes.h
parent3c5471032b9a32a44ee8f5f5b726401fe9eb81e5 (diff)
downloadupstream-3508f8abb492914b6b287b5d60084acb8aff34d2.tar.gz
upstream-3508f8abb492914b6b287b5d60084acb8aff34d2.tar.bz2
upstream-3508f8abb492914b6b287b5d60084acb8aff34d2.zip
uqmi: use correct value for connection checking
Originally, the implementation only checked if uqmi command execution succeeded properly without actually checking it's returned data. This lead to a pass, even when the returned data was indicating an error. Rework the verification to actually check the returned data, which can only be correct if the uqmi command itself also executed correctly. On command execution success, value "pdh_" is a pure numeric value. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/machtypes.h')
0 files changed, 0 insertions, 0 deletions