mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
731c653168
commit
c6dbe17f19
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
ret = -EPERM;
|
||||
gelic_wl_send_iwap_event(wl, NULL);
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* start association */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue