diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/sdio.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/sdio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/sdio.c b/drivers/net/wireless/mwifiex/sdio.c index 711fa689a95c..82098ac483b8 100644 --- a/drivers/net/wireless/mwifiex/sdio.c +++ b/drivers/net/wireless/mwifiex/sdio.c | |||
@@ -133,6 +133,9 @@ mwifiex_sdio_remove(struct sdio_func *func) | |||
133 | adapter->priv[i]->media_connected) | 133 | adapter->priv[i]->media_connected) |
134 | mwifiex_deauthenticate(adapter->priv[i], NULL); | 134 | mwifiex_deauthenticate(adapter->priv[i], NULL); |
135 | 135 | ||
136 | mwifiex_disable_auto_ds(mwifiex_get_priv(adapter, | ||
137 | MWIFIEX_BSS_ROLE_ANY)); | ||
138 | |||
136 | mwifiex_init_shutdown_fw(mwifiex_get_priv(adapter, | 139 | mwifiex_init_shutdown_fw(mwifiex_get_priv(adapter, |
137 | MWIFIEX_BSS_ROLE_ANY), | 140 | MWIFIEX_BSS_ROLE_ANY), |
138 | MWIFIEX_FUNC_SHUTDOWN); | 141 | MWIFIEX_FUNC_SHUTDOWN); |
@@ -1319,7 +1322,7 @@ static int mwifiex_host_to_card_mp_aggr(struct mwifiex_adapter *adapter, | |||
1319 | if (!(card->mp_wr_bitmap & | 1322 | if (!(card->mp_wr_bitmap & |
1320 | (1 << card->curr_wr_port)) | 1323 | (1 << card->curr_wr_port)) |
1321 | || !MP_TX_AGGR_BUF_HAS_ROOM( | 1324 | || !MP_TX_AGGR_BUF_HAS_ROOM( |
1322 | card, next_pkt_len)) | 1325 | card, pkt_len + next_pkt_len)) |
1323 | f_send_aggr_buf = 1; | 1326 | f_send_aggr_buf = 1; |
1324 | } else { | 1327 | } else { |
1325 | /* No room in Aggr buf, send it */ | 1328 | /* No room in Aggr buf, send it */ |