]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: initialize common->clockrate
authorFelix Fietkau <nbd@openwrt.org>
Tue, 12 Jul 2011 01:02:01 +0000 (09:02 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Jul 2011 18:49:38 +0000 (14:49 -0400)
commit83ec6c022c121a2c3b2616778a2455874eb666e5
treedfd46001ccb9b4c7203131aeee00dbe44232a471
parent305f288a983f63faeb17d855e646a653de0ec312
ath5k: initialize common->clockrate

Fixes a division by zero when setting distance before activating the
device for the first time.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c