ath9k: remove the WARN_ON that triggers if generating a beacon fails
authorFelix Fietkau <nbd@openwrt.org>
Wed, 9 Jan 2013 15:16:54 +0000 (16:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Jan 2013 19:12:02 +0000 (14:12 -0500)
commit3adcf20afb585993ffee24de36d1975f6b26b120
treecb47740613750e3193c4dc58b94045004fb1b92a
parent1adb2e2b5f85023d17eb4f95386a57029df27c88
ath9k: remove the WARN_ON that triggers if generating a beacon fails

During teardown, mac80211 will not return a new beacon. This is normal and
handled properly in the driver, so there's no need to spam the user with a kernel
warning here.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c