wl12xx: don't check wow param on suspend/resume
authorEliad Peller <eliad@wizery.com>
Mon, 6 Jun 2011 09:21:52 +0000 (12:21 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 10:29:21 +0000 (13:29 +0300)
commit4a859df85a7855b15f5e1bf4b0869a16757a3e43
tree4902a78ecaeb694635b2fcd51a61959a3a19814c
parent0c005048aa3cd3ac7bfdd3c6fcc20ea4f0ab667d
wl12xx: don't check wow param on suspend/resume

Since mac80211 calls suspend/resume only when wowlan triggers
exist, there is no need to check for triggers existance in the
callbacks as well.
Add a WARN_ON() to verify it.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c