diff options
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/netdev.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/netdev.c b/drivers/net/wireless/iwmc3200wifi/netdev.c index e94e96955b99..092d28ae56a0 100644 --- a/drivers/net/wireless/iwmc3200wifi/netdev.c +++ b/drivers/net/wireless/iwmc3200wifi/netdev.c | |||
@@ -156,10 +156,10 @@ void iwm_if_free(struct iwm_priv *iwm) | |||
156 | return; | 156 | return; |
157 | 157 | ||
158 | free_netdev(iwm_to_ndev(iwm)); | 158 | free_netdev(iwm_to_ndev(iwm)); |
159 | iwm_wdev_free(iwm); | ||
160 | iwm_priv_deinit(iwm); | 159 | iwm_priv_deinit(iwm); |
161 | kfree(iwm->umac_profile); | 160 | kfree(iwm->umac_profile); |
162 | iwm->umac_profile = NULL; | 161 | iwm->umac_profile = NULL; |
162 | iwm_wdev_free(iwm); | ||
163 | } | 163 | } |
164 | 164 | ||
165 | int iwm_if_add(struct iwm_priv *iwm) | 165 | int iwm_if_add(struct iwm_priv *iwm) |