orinoco: Add function to execute Hermes initialisation commands synchronously
commitfc5a62d8b7052ea588e4f7750cd78b0c4c47015a
authorDavid Kilroy <kilroyd@gmail.com>
Thu, 21 Aug 2008 22:27:50 +0000 (21 23:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Aug 2008 23:28:04 +0000 (22 19:28 -0400)
treecf25f5749da81c0a0a13986315486fdaf42e1fe7
parent82a06ee518f570eb8fbb6588e75a4a5d838ac901
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