wlcore: block read/writes to FW during ELP
authorBarak Bercovitz <[email protected]>
Mon, 10 Feb 2014 11:47:19 +0000 (13:47 +0200)
committerJohn W. Linville <[email protected]>
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 <[email protected]>
Signed-off-by: Eliad Peller <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/ti/wlcore/io.h