wifi: Handle errors other than wifi_error enum.
wifi_error enum has limited set of errors defined. Netlink command
may return any linux error code. In cases where netlink returns
errors other than wifi_error enum, createWifiStatusFromLegacyError
function is not returning any error because of missing default case
in switch statement, which leads to a crash.
This commit adds default case to handle undefined wifi_error(s) in
default case.
CRs-Fixed: 2074510
Change-Id: Ieba8661ba6019de62269db6f04aef11056f693d2
1 file changed