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)
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>

No differences found