]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fixed tx() handler to use GFP_ATOMIC.
authorJouni Malinen <j@w1.fi>
Tue, 10 Jun 2008 12:49:06 +0000 (15:49 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 10 Jun 2008 12:49:06 +0000 (15:49 +0300)
mac80211_hwsim/mac80211_hwsim.c

index 35cf43bc3d2daff78145e406f0dfc1d8d2fe166b..bccb2f45f741dccf6dadd377f9d164a51d6ec261 100644 (file)
@@ -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;