]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0676c968e01d0457febecdfde5cb9a1138f87de
treecb47740613750e3193c4dc58b94045004fb1b92a
parentc14ef81a50822b2a5cd4113a348a8fb1fe95fb04
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