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 #195: madwifi-mlme-only-on-up-devices.diff

File madwifi-mlme-only-on-up-devices.diff, 0.6 kB (added by svens, 14 years ago)
  • net80211/ieee80211_wireless.c

    old new  
    27342734        struct ieee80211req_mlme *mlme = (struct ieee80211req_mlme *)extra; 
    27352735        struct ieee80211_node *ni; 
    27362736 
     2737        if((dev->flags & IFF_UP) == 0) 
     2738                return -EINVAL; 
     2739         
    27372740        switch (mlme->im_op) { 
    27382741        case IEEE80211_MLME_ASSOC: 
    27392742                if (vap->iv_opmode == IEEE80211_M_STA) {