diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index c9bbfbb8cfa..61716ba9042 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -911,6 +911,7 @@ void iwl_uninit_drv(struct iwl_priv *priv) | |||
911 | iwl_free_calib_results(priv); | 911 | iwl_free_calib_results(priv); |
912 | iwlcore_free_geos(priv); | 912 | iwlcore_free_geos(priv); |
913 | iwl_free_channel_map(priv); | 913 | iwl_free_channel_map(priv); |
914 | kfree(priv->scan); | ||
914 | } | 915 | } |
915 | EXPORT_SYMBOL(iwl_uninit_drv); | 916 | EXPORT_SYMBOL(iwl_uninit_drv); |
916 | 917 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 244bfe5c751..72279e07fe3 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -8257,7 +8257,7 @@ static void __devexit iwl3945_pci_remove(struct pci_dev *pdev) | |||
8257 | 8257 | ||
8258 | iwl3945_free_channel_map(priv); | 8258 | iwl3945_free_channel_map(priv); |
8259 | iwl3945_free_geos(priv); | 8259 | iwl3945_free_geos(priv); |
8260 | 8260 | kfree(priv->scan); | |
8261 | if (priv->ibss_beacon) | 8261 | if (priv->ibss_beacon) |
8262 | dev_kfree_skb(priv->ibss_beacon); | 8262 | dev_kfree_skb(priv->ibss_beacon); |
8263 | 8263 | ||