Ticket #1033: adhoc_beacons_fix.diff
| File adhoc_beacons_fix.diff, 0.6 kB (added by tjalling.hattink@ti-wmc.nl, 2 years ago) |
|---|
-
if_ath.c
old new 4447 4447 ath_hal_intrset(ah, 0); 4448 4448 if (nexttbtt == intval) 4449 4449 intval |= HAL_BEACON_RESET_TSF; 4450 else 4451 { 4452 /* Wait a while before sending beacons again. When we start 4453 * too early the hardware/HAL becomes confused and doesn't 4454 * transmit beacons at all for quite a while. 4455 */ 4456 if (intval) 4457 nexttbtt = roundup((nexttbtt + 250), intval); 4458 else 4459 nexttbtt += 250; 4460 } 4450 4461 if (ic->ic_opmode == IEEE80211_M_IBSS) { 4451 4462 /* 4452 4463 * In IBSS mode enable the beacon timers but only
