ath9k: Make sure we configure a non-zero beacon interval
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Fri, 12 Jun 2009 05:25:55 +0000 (10:55 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:41 +0000 (14:57 -0400)
commitc4f9f16b309b65f9f578ec4ba78b3efa106cf65d
treea600d4fe122146e3935a56f004eb316182aa4fd3
parente0d6133cba88759bc760b254c27975330fff6519
ath9k: Make sure we configure a non-zero beacon interval

This patch moves the sanity check on beacon interval
which was done only for mesh mode to all operating
modes just to be safe.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c