diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-05-15 01:54:17 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-21 21:48:06 -0400 |
commit | 6ba879562289bcad537a2374754ef750307c7d32 (patch) | |
tree | cdfe183883a2ab093419dd7c6544ea76877f3572 /drivers/net/wireless/iwlwifi/iwl-eeprom.c | |
parent | 445c2dff409ef9de5d2f964d20917ab238fd266f (diff) |
iwlwifi: refactor pci prob flow
This patch refactores pci prob flow. It moves mac80211 registration
to the end, otherwise there is a race between error path in pci_probe
and mac_start.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-eeprom.c index 300ef8e74156..e559c19fd361 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c | |||
@@ -567,7 +567,6 @@ void iwl_free_channel_map(struct iwl_priv *priv) | |||
567 | kfree(priv->channel_info); | 567 | kfree(priv->channel_info); |
568 | priv->channel_count = 0; | 568 | priv->channel_count = 0; |
569 | } | 569 | } |
570 | EXPORT_SYMBOL(iwl_free_channel_map); | ||
571 | 570 | ||
572 | /** | 571 | /** |
573 | * iwl_get_channel_info - Find driver's private channel info | 572 | * iwl_get_channel_info - Find driver's private channel info |