Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2015 18:24:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-wireless@FreeBSD.org
Subject:   [Bug 203887] Integer divide panic
Message-ID:  <bug-203887-21060-6COvOECoMo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203887-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203887-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203887

Adrian Chadd <adrian@freebsd.org> changed:

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

--- Comment #1 from Adrian Chadd <adrian@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203887-21060-6COvOECoMo>