提交 6334dea8 编写于 作者: P Pavel Machek 提交者: Kalle Valo

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: NPavel Machek <pavel@denx.de>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 9236c125
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册