From: Ben Greear Date: Wed, 30 Apr 2014 19:02:05 +0000 (-0700) Subject: ath9k: Prevent divide-by-zero upon bad beacon_interval. X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76c939832aa95f6e0e84f173b36906eea2235cee;p=pandora-kernel.git 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: Ben Greear Signed-off-by: John W. Linville --- Reading git-diff-tree failed