diff options
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index 266766b8d80b..369fc334fdad 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -605,7 +605,7 @@ int cfg80211_mlme_mgmt_tx(struct cfg80211_registered_device *rdev, | |||
605 | } | 605 | } |
606 | 606 | ||
607 | bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_mbm, | 607 | bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_mbm, |
608 | const u8 *buf, size_t len, u32 flags, gfp_t gfp) | 608 | const u8 *buf, size_t len, u32 flags) |
609 | { | 609 | { |
610 | struct wiphy *wiphy = wdev->wiphy; | 610 | struct wiphy *wiphy = wdev->wiphy; |
611 | struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); | 611 | struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); |
@@ -648,7 +648,7 @@ bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_mbm, | |||
648 | /* Indicate the received Action frame to user space */ | 648 | /* Indicate the received Action frame to user space */ |
649 | if (nl80211_send_mgmt(rdev, wdev, reg->nlportid, | 649 | if (nl80211_send_mgmt(rdev, wdev, reg->nlportid, |
650 | freq, sig_mbm, | 650 | freq, sig_mbm, |
651 | buf, len, flags, gfp)) | 651 | buf, len, flags, GFP_ATOMIC)) |
652 | continue; | 652 | continue; |
653 | 653 | ||
654 | result = true; | 654 | result = true; |