rt2x00: Don't initialize beacon interval to 0 on rt2800 devices
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sun, 11 Jul 2010 10:29:49 +0000 (12:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jul 2010 20:05:35 +0000 (16:05 -0400)
commit8544df327c4c1c2bc6f2f6bf2997980d0d9a29f0
tree627219c86ebc2685a6e64008a0114d94b63ef18a
parentab0ed4aba80f430fafd842cee8d74f6b40493483
rt2x00: Don't initialize beacon interval to 0 on rt2800 devices

Activating the TBTT interrupt when a beacon interval of 0 is configured
results in an interrupt storm causing the machine to hang. Hence,
initialize the beacon interval to a reasonable default of 100TUs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c