Show
Ignore:
Timestamp:
09/17/07 18:34:10 (5 years ago)
Author:
mentor
Message:

The aforementioned patch. It currently does no work, and I can no longer remember where I was going with it. I think I needed to add some logic for fiddling TX power on channel change at least.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/madwifi-ng-txpower/net80211/ieee80211_scan.c

    r2583 r2711  
    241241        struct ieee80211_channel *chan) 
    242242{ 
    243         ic->ic_curchan = chan
     243        ieee80211_set_channel(ic, chan)
    244244        ic->ic_set_channel(ic); 
    245245} 
     
    531531 
    532532        IEEE80211_LOCK_IRQ(ic); 
    533         if ((ic->ic_flags & IEEE80211_F_SCAN) == 0) { 
     533        if (!(ic->ic_flags & IEEE80211_F_SCAN)) { 
    534534                u_int duration; 
    535535                /* 
     
    583583                        } 
    584584                } else { 
    585                         /* XXX msg+stat */ 
     585                        /* XXX: No stat. */ 
     586                        IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, 
     587                                "%s: No scanner (module) available.\n", __func__); 
    586588                } 
    587589        } else {