Ticket #1042: ibss_stagbeacons_fix.diff

File ibss_stagbeacons_fix.diff, 433 bytes (added by tjalling.hattink@ti-wmc.nl, 2 years ago)

Fix that disables staggered beacons under IBSS mode.

  • if_ath.c

    old new  
    11341134                        sc->sc_bslot[avp->av_bslot] = vap; 
    11351135                        sc->sc_nbcnvaps++; 
    11361136                } 
    1137                 if (sc->sc_hastsfadd) { 
     1137                if ((opmode == IEEE80211_M_HOSTAP) && (sc->sc_hastsfadd)) { 
    11381138                        /* 
    11391139                         * Multiple VAPs are to transmit beacons and we 
    11401140                         * have h/w support for TSF adjusting; enable use