From: Jouni Malinen Date: Tue, 10 Jun 2008 12:49:06 +0000 (+0300) Subject: Fixed tx() handler to use GFP_ATOMIC. X-Git-Tag: hostap_0_6_4~29 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=a837861751bc3a0578284c8ac8db4ed75450e094;hp=de08c7248d31cc85257e4e07ab80775c06a98800;p=libeap.git Fixed tx() handler to use GFP_ATOMIC. --- 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;