Ticket #914: phydisable.diff

File phydisable.diff, 0.8 kB (added by Žilvinas Valinskas <valins@soften.ktu.lt>, 2 years ago)

Signed-off-by: Žilvinas Valinskas <valins@soften.ktu.lt>

  • madwifi-ng-trunk/ath/if_ath.c

    old new  
    19971997                ath_draintxq(sc); 
    19981998                if (!sc->sc_invalid) { 
    19991999                        ath_stoprecv(sc); 
     2000 
     2001                        /* XXX: this helps to avoid crashes on ifconfig down/up 
    20002002                        ath_hal_phydisable(ah); 
     2003                         */ 
    20012004                } else 
    20022005                        sc->sc_rxlink = NULL; 
    20032006                ath_beacon_free(sc);            /* XXX needed? */