airo: re-arrange WPA capability checks
authorDan Williams <dcbw@redhat.com>
Sat, 24 Jan 2009 14:10:42 +0000 (09:10 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:39 +0000 (16:01 -0500)
commitf65b56d67b48eec7ffe174f223e98db58c3bf2b5
tree7d90c576a8743bafbc2068786ee522f1df6c00b4
parentf55d4517ebdd6de627d42a24baefaeb689978087
airo: re-arrange WPA capability checks

The capability register has to be read for other (upcoming) stuff, so fold
the WPA test function back into _init_airo_card() and move the netdevice
registration stuff above it so that the netdevice has a name by the time
the card's capabilities are printed out.

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