Commit c6dbe17f authored by Masakazu Mokuno's avatar Masakazu Mokuno Committed by John W. Linville
Browse files

net/ps3: Fix wireless AP connect error handling

This patch fixes the bug that the driver tries to continue to
connect(associate) to AP even if gelic_wl_do_{wpa,wep}_setup() fails,
Signed-off-by: default avatarMasakazu Mokuno <>
Signed-off-by: default avatarGeoff Levand <>
Signed-off-by: default avatarJohn W. Linville <>
parent 731c6531
......@@ -2101,6 +2101,9 @@ static int gelic_wl_associate_bss(struct gelic_wl_info *wl,
if (ret) {
pr_debug("%s: WEP/WPA setup failed %d\n", __func__,
ret = -EPERM;
gelic_wl_send_iwap_event(wl, NULL);
goto out;
/* start association */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment