airo: clean up WEP key operations
authorDan Williams <dcbw@redhat.com>
Sat, 24 Jan 2009 14:12:15 +0000 (09:12 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:40 +0000 (16:01 -0500)
commitc0380693520b1a1e4f756799a0edc379378b462a
tree256ee51b0af360abc35cbe0d6999fd8a572e39c9
parent138c0c688262b7f4ed07cdc6d0592299c4f12998
airo: clean up WEP key operations

get_wep_key() and set_wep_key() combind both get/set of the actual WEP
key and get/set of the transmit index into the same functions.  Split those
out so it's clearer what is going one where.  Add error checking to WEP
key hardware operations too.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c