diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-15 17:31:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-15 17:31:06 -0400 |
commit | 3eb14b944f2b5b6efe4e0ae3fe9601db78437d57 (patch) | |
tree | bea3d9ce130de0a73504ab94882115004b826fd6 /drivers/net/wireless/ath/ath9k/wmi.c | |
parent | 791f58c0640f906d3f63518d3f02630dbbafb7a2 (diff) | |
parent | 5c01d5669356e13f0fb468944c1dd4c6a7e978ad (diff) |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/wmi.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/wmi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/wmi.c b/drivers/net/wireless/ath/ath9k/wmi.c index 818dea0164ec..f2ff18cf3e60 100644 --- a/drivers/net/wireless/ath/ath9k/wmi.c +++ b/drivers/net/wireless/ath/ath9k/wmi.c | |||
@@ -169,7 +169,7 @@ void ath9k_wmi_tasklet(unsigned long data) | |||
169 | break; | 169 | break; |
170 | } | 170 | } |
171 | 171 | ||
172 | dev_kfree_skb_any(skb); | 172 | kfree_skb(skb); |
173 | } | 173 | } |
174 | 174 | ||
175 | static void ath9k_wmi_rsp_callback(struct wmi *wmi, struct sk_buff *skb) | 175 | static void ath9k_wmi_rsp_callback(struct wmi *wmi, struct sk_buff *skb) |
@@ -207,13 +207,13 @@ static void ath9k_wmi_ctrl_rx(void *priv, struct sk_buff *skb, | |||
207 | ath9k_wmi_rsp_callback(wmi, skb); | 207 | ath9k_wmi_rsp_callback(wmi, skb); |
208 | 208 | ||
209 | free_skb: | 209 | free_skb: |
210 | dev_kfree_skb_any(skb); | 210 | kfree_skb(skb); |
211 | } | 211 | } |
212 | 212 | ||
213 | static void ath9k_wmi_ctrl_tx(void *priv, struct sk_buff *skb, | 213 | static void ath9k_wmi_ctrl_tx(void *priv, struct sk_buff *skb, |
214 | enum htc_endpoint_id epid, bool txok) | 214 | enum htc_endpoint_id epid, bool txok) |
215 | { | 215 | { |
216 | dev_kfree_skb_any(skb); | 216 | kfree_skb(skb); |
217 | } | 217 | } |
218 | 218 | ||
219 | int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, | 219 | int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, |
@@ -269,7 +269,7 @@ int ath9k_wmi_cmd(struct wmi *wmi, enum wmi_cmd_id cmd_id, | |||
269 | if (!wmi) | 269 | if (!wmi) |
270 | return -EINVAL; | 270 | return -EINVAL; |
271 | 271 | ||
272 | skb = dev_alloc_skb(headroom + cmd_len); | 272 | skb = alloc_skb(headroom + cmd_len, GFP_ATOMIC); |
273 | if (!skb) | 273 | if (!skb) |
274 | return -ENOMEM; | 274 | return -ENOMEM; |
275 | 275 | ||
@@ -313,7 +313,7 @@ out: | |||
313 | ath_print(common, ATH_DBG_WMI, | 313 | ath_print(common, ATH_DBG_WMI, |
314 | "WMI failure for: %s\n", wmi_cmd_to_name(cmd_id)); | 314 | "WMI failure for: %s\n", wmi_cmd_to_name(cmd_id)); |
315 | mutex_unlock(&wmi->op_mutex); | 315 | mutex_unlock(&wmi->op_mutex); |
316 | dev_kfree_skb_any(skb); | 316 | kfree_skb(skb); |
317 | 317 | ||
318 | return ret; | 318 | return ret; |
319 | } | 319 | } |