aboutsummaryrefslogtreecommitdiffstats
path: root/mac80211_hwsim
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-06-10 12:49:06 (GMT)
committerJouni Malinen <j@w1.fi>2008-06-10 12:49:06 (GMT)
commita837861751bc3a0578284c8ac8db4ed75450e094 (patch)
treeb427f618b83eb077719ba204dec72c511c8338fb /mac80211_hwsim
parentde08c7248d31cc85257e4e07ab80775c06a98800 (diff)
downloadhostap-a837861751bc3a0578284c8ac8db4ed75450e094.zip
hostap-a837861751bc3a0578284c8ac8db4ed75450e094.tar.gz
hostap-a837861751bc3a0578284c8ac8db4ed75450e094.tar.bz2
Fixed tx() handler to use GFP_ATOMIC.
Diffstat (limited to 'mac80211_hwsim')
-rw-r--r--mac80211_hwsim/mac80211_hwsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mac80211_hwsim/mac80211_hwsim.c b/mac80211_hwsim/mac80211_hwsim.c
index 35cf43b..bccb2f4 100644
--- a/mac80211_hwsim/mac80211_hwsim.c
+++ b/mac80211_hwsim/mac80211_hwsim.c
@@ -113,7 +113,7 @@ static int mac80211_hwsim_tx(struct ieee80211_hw *hw, struct sk_buff *skb,
if (!data2->radio_enabled || data->freq != data2->freq)
continue;
- nskb = skb_copy(skb, GFP_KERNEL);
+ nskb = skb_copy(skb, GFP_ATOMIC);
if (nskb == NULL)
continue;