Changeset 3690


Ignore:
Timestamp:
Jul 11, 2013, 7:04:16 AM (17 months ago)
Author:
quozl
Message:

OLPC - nb-auto-channel was leaving junk on stack, regression introduced by r3560

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/x86/pc/olpc/wifichannel.fth

    r3688 r3690  
    8989; 
    9090 
    91 : scan-channel  ( channel# -- actual ) 
    92    >r scan-buf d# 2048 r> " scan" $call-wlan  ( actual ) 
     91: scan-channel  ( channel# -- false | actual true ) 
     92   >r scan-buf d# 2048 r> " scan" $call-wlan 
    9393; 
    9494 
    9595: channel-stats  ( channel# -- total-rssi max-rssi #beacons ) 
    9696   scan-channel  if 
     97      drop 
    9798      analyze-beacons 
    9899   else 
     
    247248: (.channel-beacons)  ( channel# -- ) 
    248249   dup >r              ( r: channel# ) 
    249    scan-channel  if    ( r: channel# ) 
     250   scan-channel  if    ( actual r: channel# ) 
     251      drop 
    250252      show-beacons     ( #beacons r: channel# ) 
    251253   else                ( r: channel# ) 
Note: See TracChangeset for help on using the changeset viewer.