]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bbfbc12a33761021e61f58c014f1a181dc76d19
treea852f09c4650110223a61020cd5b0841d7702b6e
parenta30a2f7b599c9520494bd87094637f3c360cc632
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