]> git.baikalelectronics.ru Git - kernel.git/commit
orinoco: Add function to execute Hermes initialisation commands synchronously
authorDavid Kilroy <kilroyd@gmail.com>
Thu, 21 Aug 2008 22:27:50 +0000 (23:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Aug 2008 23:28:04 +0000 (19:28 -0400)
commitc97bc25b4c0bd8a00fa334df72e9bf5fe701e94b
treecf25f5749da81c0a0a13986315486fdaf42e1fe7
parent5c8fb94426bb7309ccba6013992e3101fb080e6c
orinoco: Add function to execute Hermes initialisation commands synchronously

The current synchronous execution function doesn't work
for certain Hermes commands which clear the MAGIC number from
SWSUPPORT0. These commands seem to be related to initialisation or
programming, for example HERMES_CMD_INIT.

Replicate hermes_docmd_wait for commands which clear the MAGIC number
from SWSUPPORT0. This version accepts two extra arguments which are
passed straight to the firmware.

Functionality copied out of hermes_init.

Signed-off-by: David Kilroy <kilroyd@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hermes.c
drivers/net/wireless/hermes.h