airo: simplify WEP index and capability checks
commit138c0c688262b7f4ed07cdc6d0592299c4f12998
authorDan Williams <dcbw@redhat.com>
Sat, 24 Jan 2009 14:11:35 +0000 (24 09:11 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:40 +0000 (29 16:01 -0500)
treed5752926bc8dfaa3d9f645a8601a516fc37f50cc
parentf65b56d67b48eec7ffe174f223e98db58c3bf2b5
airo: simplify WEP index and capability checks

Do the computation once at init time; don't ask the hardware
every time.

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