ipw2100: Register the wiphy device
authorMatthew Garrett <mjg@redhat.com>
Wed, 11 Nov 2009 19:36:30 +0000 (14:36 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Nov 2009 22:05:27 +0000 (17:05 -0500)
commitc26409a919e2a338f0cff6ea0e1a96e658a3bfaa
tree25a3759a1d65bc70b329fa44df4b76c74b942609
parenta3caa99e6c68f466c13cfea74097f6fb01b45e25
ipw2100: Register the wiphy device

libipw unconditionally calls wiphy_unregister, but it's up to the driver
to register it in the first place. ipw2100 fails to do so. Add the necessary
glue code, and also ensure that rfkill statuses get set up appropriately.

(Augmented for proper wiphy_unregister placement. -- JWL)

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/ipw2100.c