diff options
author | Zhu Yi <yi.zhu@intel.com> | 2009-06-15 15:59:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 14:57:52 -0400 |
commit | 257862f3faef397f1a677ae6a5a1828fa00a97b1 (patch) | |
tree | 005afd1b950593942ee6b4e2ad44cf5dbf14410b /drivers/net/wireless/iwmc3200wifi/sdio.c | |
parent | 3549716484a95fd16f7fcf8b68699bd4c803b382 (diff) |
iwmc3200wifi: rfkill cleanup
The patch cleans up the unused rfkill related structures and flags.
It also adds wext and cfg80211 handlers for txpower auto and off so
that software rfkill could be issued by user space.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/sdio.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/sdio.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/sdio.c b/drivers/net/wireless/iwmc3200wifi/sdio.c index 916681837fd2..b93f620ee4f1 100644 --- a/drivers/net/wireless/iwmc3200wifi/sdio.c +++ b/drivers/net/wireless/iwmc3200wifi/sdio.c | |||
@@ -506,11 +506,7 @@ static struct sdio_driver iwm_sdio_driver = { | |||
506 | 506 | ||
507 | static int __init iwm_sdio_init_module(void) | 507 | static int __init iwm_sdio_init_module(void) |
508 | { | 508 | { |
509 | int ret; | 509 | return sdio_register_driver(&iwm_sdio_driver); |
510 | |||
511 | ret = sdio_register_driver(&iwm_sdio_driver); | ||
512 | |||
513 | return ret; | ||
514 | } | 510 | } |
515 | 511 | ||
516 | static void __exit iwm_sdio_exit_module(void) | 512 | static void __exit iwm_sdio_exit_module(void) |