Skip to content
Commit 76c93983 authored by Ben Greear's avatar Ben Greear Committed by John W. Linville
Browse files

ath9k: Prevent divide-by-zero upon bad beacon_interval.



A similar patch fixed crashes seen on an ath9k system
when testing against a broken ath10k AP.  This patch
is slightly less protective, but probably will do the
job and is less redundant.

Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 68b422db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment