diff options
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/if_sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c index 89396a788627..485a8d406525 100644 --- a/drivers/net/wireless/libertas/if_sdio.c +++ b/drivers/net/wireless/libertas/if_sdio.c | |||
@@ -1093,11 +1093,11 @@ static void if_sdio_remove(struct sdio_func *func) | |||
1093 | lbs_pr_alert("CMD_FUNC_SHUTDOWN cmd failed\n"); | 1093 | lbs_pr_alert("CMD_FUNC_SHUTDOWN cmd failed\n"); |
1094 | } | 1094 | } |
1095 | 1095 | ||
1096 | card->priv->surpriseremoved = 1; | ||
1097 | 1096 | ||
1098 | lbs_deb_sdio("call remove card\n"); | 1097 | lbs_deb_sdio("call remove card\n"); |
1099 | lbs_stop_card(card->priv); | 1098 | lbs_stop_card(card->priv); |
1100 | lbs_remove_card(card->priv); | 1099 | lbs_remove_card(card->priv); |
1100 | card->priv->surpriseremoved = 1; | ||
1101 | 1101 | ||
1102 | flush_workqueue(card->workqueue); | 1102 | flush_workqueue(card->workqueue); |
1103 | destroy_workqueue(card->workqueue); | 1103 | destroy_workqueue(card->workqueue); |