aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-sta.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-sta.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-sta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c
index 1154e4843087..26b2bd4db6b4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-sta.c
+++ b/drivers/net/wireless/iwlwifi/iwl-sta.c
@@ -177,7 +177,7 @@ int iwl_send_add_sta(struct iwl_priv *priv,
177 pkt = (struct iwl_rx_packet *)cmd.reply_page; 177 pkt = (struct iwl_rx_packet *)cmd.reply_page;
178 ret = iwl_process_add_sta_resp(priv, sta, pkt, true); 178 ret = iwl_process_add_sta_resp(priv, sta, pkt, true);
179 } 179 }
180 iwl_free_pages(priv, cmd.reply_page); 180 iwl_free_pages(priv->shrd, cmd.reply_page);
181 181
182 return ret; 182 return ret;
183} 183}
@@ -455,7 +455,7 @@ static int iwl_send_remove_station(struct iwl_priv *priv,
455 break; 455 break;
456 } 456 }
457 } 457 }
458 iwl_free_pages(priv, cmd.reply_page); 458 iwl_free_pages(priv->shrd, cmd.reply_page);
459 459
460 return ret; 460 return ret;
461} 461}