Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1078: delayed_ieee80211_sta_join1_tasklet.diff

File delayed_ieee80211_sta_join1_tasklet.diff, 0.7 kB (added by rozteck@interia.pl, 13 years ago)

moving the ieee80211_sta_join1_tasklet initialization a few lines lower seems to solve the problem

  • ieee80211.c

    old new  
    483483                break; 
    484484        } 
    485485        vap->iv_opmode = opmode; 
    486         IEEE80211_INIT_TQUEUE(&vap->iv_stajoin1tq, ieee80211_sta_join1_tasklet, vap); 
     486        //IEEE80211_INIT_TQUEUE(&vap->iv_stajoin1tq, ieee80211_sta_join1_tasklet, vap); 
    487487 
    488488        vap->iv_chanchange_count = 0; 
    489489 
     
    507507        IEEE80211_ADDR_COPY(vap->iv_myaddr, ic->ic_myaddr); 
    508508        /* NB: defer setting dev_addr so driver can override */ 
    509509 
     510        IEEE80211_INIT_TQUEUE(&vap->iv_stajoin1tq, ieee80211_sta_join1_tasklet, vap); 
     511 
    510512        ieee80211_crypto_vattach(vap); 
    511513        ieee80211_node_vattach(vap); 
    512514        ieee80211_power_vattach(vap);