#10780 NORM 11.3.0: Sugar Network view looses track of available networks but iwlist is fine

Zarro Boogs per Child bugtracker at laptop.org
Mon Aug 1 13:50:42 EDT 2011


#10780: Sugar Network view looses track of available networks but iwlist is fine
---------------------------------------+------------------------------------
           Reporter:  greenfeld        |       Owner:  dsd                              
               Type:  defect           |      Status:  new                              
           Priority:  normal           |   Milestone:  11.3.0                           
          Component:  network manager  |     Version:  Development build as of this date
         Resolution:                   |    Keywords:                                   
        Next_action:  add to build     |    Verified:  0                                
Deployment_affected:                   |   Blockedby:                                   
           Blocking:                   |  
---------------------------------------+------------------------------------
Changes (by dsd):

  * next_action:  diagnose => add to build


Comment:

 This is a race. libertas is announcing the scan-results-available event
 before recording the fact that scanning has completed. If userspace tries
 to retrieve scan results after that event has arrived, but before the
 driver has marked the scan as completed, the scan results will not be
 presented (on the incorrect pretense that the scan is still ongoing).

 It was much easier to reproduce this with debugging enabled, as some debug
 messages are printed within the race window, meaning that the window is
 wider.

 Fixed with
 http://dev.laptop.org/git/olpc-2.6/commit/?h=olpc-2.6.35&id=66488fe0e4b6d98a8a525cc509b293e29e9be645

 This bug is already fixed in the upstream kernel, where the scan results
 and event handling is now handled by an upper layer.

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


More information about the Bugs mailing list