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

Commit 6334dea8 authored by Pavel Machek's avatar Pavel Machek Committed by Kalle Valo
Browse files

mwifiex: make error values consistent in mwifiex_update_bss_desc_with_ie()



Surrounding code uses -ERRNO as a result, so don't pass plain -1.

Signed-off-by: default avatarPavel Machek <pavel@denx.de>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 9236c125
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1243,7 +1243,7 @@ int mwifiex_update_bss_desc_with_ie(struct mwifiex_adapter *adapter,
			mwifiex_dbg(adapter, ERROR,
				    "err: InterpretIE: in processing\t"
				    "IE, bytes left < IE length\n");
			return -1;
			return -EINVAL;
		}
		switch (element_id) {
		case WLAN_EID_SSID: