mac80211: Change WARN_ON to WARN_ON_ONCE
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 23 Oct 2008 06:44:02 +0000 (12:14 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:54 +0000 (19:00 -0400)
commit075cbc9eb15da8f4cba7c7eaadedd8b030d3a87a
tree2caa2f3acb07520439d93dc2be2c5ccc7ab159ca
parent5c020dc6a0f75de3cd75d9cca3b589abc1826fc5
mac80211: Change WARN_ON to WARN_ON_ONCE

A warning would be printed for every packet that
is transmitted if the rate control information isn't
setup. Change this to WARN_ON_ONCE.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c