mac80211: Convert WARN_ON to WARN_ON_ONCE
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 6 Apr 2012 21:35:53 +0000 (16:35 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Apr 2012 19:54:48 +0000 (15:54 -0400)
commitaa331df0e5e6ebac086ed80b4fbbfd912fe6b32a
tree5cc76a05498c1a161367d72f2653744c3eaa8a27
parent0298dc9f2273fb2d596ae10d7700f054bfce601d
mac80211: Convert WARN_ON to WARN_ON_ONCE

When the control-rate tables are not set up correctly, it makes
little sense to spam the logs, thus change the WARN_ON to WARN_ON_ONCE.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h