Send buglog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/buglog
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of buglog digest..."
Today's Topics:

   1. Re: Openmoko Bug #2267: [wifi] kernel oops when starting
      wpa_supplicant (Openmoko Public Trac)
--- Begin Message ---
#2267: [wifi] kernel oops when starting wpa_supplicant
---------------------+------------------------------------------------------
 Reporter:  tilman2  |          Owner:  openmoko-devel
     Type:  defect   |         Status:  new           
 Priority:  normal   |      Milestone:                
Component:  unknown  |        Version:  unspecified   
 Severity:  normal   |       Keywords:                
 Haspatch:  0        |      Blockedby:                
Estimated:           |    Patchreview:                
 Blocking:           |   Reproducible:                
---------------------+------------------------------------------------------

Comment(by mwes...@…):

 The following patch seems to resolve this; I really can't say if this is
 the correct resolution, but it seems to work for me:

 diff --git a/drivers/ar6000/ar6000/wireless_ext.c
 b/drivers/ar6000/ar6000/wireless_ext.c
 index d9a5920..ecba5c9 100644
 --- a/drivers/ar6000/ar6000/wireless_ext.c
 +++ b/drivers/ar6000/ar6000/wireless_ext.c
 @@ -976,6 +976,14 @@ static int ar6000_ioctl_giwpower(struct net_device
 *dev,
  {
         AR_SOFTC_T *ar = (AR_SOFTC_T *)netdev_priv(dev);

 +       if (ar->arWlanState == WLAN_DISABLED) {
 +               return -EIO;
 +       }
 +
 +       if (ar->arWmiReady == FALSE) {
 +               return -EIO;
 +       }
 +
         return wmi_get_power_mode_cmd(ar->arWmi);
  }

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2267#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
_______________________________________________
buglog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/buglog

Reply via email to