#11413 HIGH 1.75-so: XO-1.75 libertas crash on resume

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 15 22:42:05 EST 2011

#11413: XO-1.75  libertas crash on resume
           Reporter:  wad       |       Owner:  dsaxena                      
               Type:  defect    |      Status:  new                          
           Priority:  high      |   Milestone:  1.75-software                
          Component:  wireless  |     Version:  1.75-B1                      
         Resolution:            |    Keywords:  XO-1.75, wifi, suspend/resume
        Next_action:  diagnose  |    Verified:  0                            
Deployment_affected:            |   Blockedby:                               
           Blocking:  11395     |  

Comment(by dilinger):

 The following patch should fix it.  It has been added to arm-3.0-wip.

 commit 96a00d1030833be9f8e0e39b398b22915f54fddd
 Author: Sven Neumann <s.neumann at raumfeld.com>
 Date:   Tue Jul 12 15:52:07 2011 +0200

     cfg80211: really ignore the regulatory request

     At the beginning of wiphy_update_regulatory() a check is performed
     whether the request is to be ignored. Then the request is sent to
     the driver nevertheless. This happens even if last_request points
     to NULL, leading to a crash in the driver:

      [<bf01d864>] (lbs_set_11d_domain_info+0x28/0x1e4 [libertas]) from
 [<c03b714c>] (wiphy_update_regulatory+0x4d0/0x4f4)
      [<c03b714c>] (wiphy_update_regulatory+0x4d0/0x4f4) from [<c03b4008>]
      [<c03b4008>] (wiphy_register+0x354/0x420) from [<bf01b17c>]
 (lbs_cfg_register+0x80/0x164 [libertas])
      [<bf01b17c>] (lbs_cfg_register+0x80/0x164 [libertas]) from
 [<bf020e64>] (lbs_start_card+0x20/0x88 [libertas])
      [<bf020e64>] (lbs_start_card+0x20/0x88 [libertas]) from [<bf02cbd8>]
 (if_sdio_probe+0x898/0x9c0 [libertas_sdio])

     Fix this by returning early. Also remove the out: label as it is
     not any longer needed.

Ticket URL: <http://dev.laptop.org/ticket/11413#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list