aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-sta.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-08-26 02:11:05 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-29 15:25:35 -0400
commit790428b6552c698b2f295457b5dee686323cb732 (patch)
tree7e1ee855b7f463611ed059d8c570443fa987cb67 /drivers/net/wireless/iwlwifi/iwl-sta.c
parent845a9c0d8acea87dede740bc5feb9ec2d00505d9 (diff)
iwlagn: move iwl_free_pages to iwl-shared.h
This helper is used by the transport and the upper layer. Kill __iwl_free_pages which was used in the transport only. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
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}