Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 64ff49b8 authored by Purushottam Kushwaha's avatar Purushottam Kushwaha Committed by LuK1337
Browse files

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
parent 92fc5337
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment