wlcore: block read/writes to FW during ELP
authorBarak Bercovitz <barak@wizery.com>
Mon, 10 Feb 2014 11:47:19 +0000 (13:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Feb 2014 20:20:14 +0000 (15:20 -0500)
commit51ae14d0eae31a7d678c201c9664efbb373f97fa
treea852f09c4650110223a61020cd5b0841d7702b6e
parent9be86cf067f43c3a43a538189d773afc812e4017
wlcore: block read/writes to FW during ELP

When the chip is in ELP mode read/write to FW is invalid and may cause
the lower layers to get stuck. The reads/writes concerning ELP wakeup
are the exception here and are checked for. In addition to blocking the
IO, produce a warning.

Signed-off-by: Barak Bercovitz <barak@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wlcore/io.h