This patch fixes mm_huawei_parse_prefmode_test to always report an error when returning NULL, which avoid a potential crash when the caller tries to access the error.
This patch fixes mm_huawei_parse_prefmode_test to always report an error when returning NULL, which avoid a potential crash when the caller tries to access the error.