|
@@ -3334,7 +3334,7 @@ static void nl80211_send_mlme_event(struct cfg80211_registered_device *rdev,
|
|
|
struct sk_buff *msg;
|
|
|
void *hdr;
|
|
|
|
|
|
- msg = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
|
|
|
+ msg = nlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC);
|
|
|
if (!msg)
|
|
|
return;
|
|
|
|
|
@@ -3353,7 +3353,7 @@ static void nl80211_send_mlme_event(struct cfg80211_registered_device *rdev,
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- genlmsg_multicast(msg, 0, nl80211_mlme_mcgrp.id, GFP_KERNEL);
|
|
|
+ genlmsg_multicast(msg, 0, nl80211_mlme_mcgrp.id, GFP_ATOMIC);
|
|
|
return;
|
|
|
|
|
|
nla_put_failure:
|