https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203887

Adrian Chadd <adr...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |adr...@freebsd.org

--- Comment #1 from Adrian Chadd <adr...@freebsd.org> ---
I'm guessing its:

    /* XXX beware of overflow? */
    ani_state->listen_time += listen_time;

in that function.

Just add this underneath:

if (ani_state->listen_time == 0) {
        /* restart ANI period if listen_time is invalid */
        HALDEBUG(ah, HAL_DEBUG_ANI,
            "%s: listen_time=%d - calling ar9300_ani_restart\n",
            __func__, listen_time);
        ar9300_ani_restart(ah);
        return;
}

i bet that fixes it!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to