Patchwork Diagnosing NetworkManager/ps3_gelic connection issues in Ubuntu Jaunty

login
register
mail settings
Submitter Masakazu Mokuno
Date March 19, 2009, 4:25 a.m.
Message ID <200903190425.n2J4P1P4014500@imail.sm.sony.co.jp>
Download mbox | patch
Permalink /patch/24637/
State Not Applicable
Delegated to: Jeremy Kerr
Headers show

Comments

Masakazu Mokuno - March 19, 2009, 4:25 a.m.
Hi Dan,

Could you please try the following patch and see if the problem persists?

Regards.
---
 drivers/net/ps3_gelic_wireless.c |    3 +++
 1 file changed, 3 insertions(+)
Dan Munckton - March 24, 2009, 9:25 a.m.
Hi

On Thu, 2009-03-19 at 13:25 +0900, Masakazu Mokuno wrote:
> Hi Dan,
> 
> Could you please try the following patch and see if the problem persists?
> 
> Regards.
> ---
>  drivers/net/ps3_gelic_wireless.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> --- a/drivers/net/ps3_gelic_wireless.c
> +++ b/drivers/net/ps3_gelic_wireless.c
> @@ -2105,6 +2105,9 @@ static int gelic_wl_associate_bss(struct
>  	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 */
> 

Sorry about the delay in replying. I'll test it and report back asap.

Cheers

Dan

Patch

--- a/drivers/net/ps3_gelic_wireless.c
+++ b/drivers/net/ps3_gelic_wireless.c
@@ -2105,6 +2105,9 @@  static int gelic_wl_associate_bss(struct
 	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 */