]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94524f08780b93991c7c5e467fc41be1ad2b56c6
tree4902a78ecaeb694635b2fcd51a61959a3a19814c
parent549bb290ca9d3cc27f70c61ab13d640085a98695
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