diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 96611d5dfadb0ce37effd4adcce80454bb69f285..5ac7a0a499167e96be9e411fc72094d0a89dbfcc 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -3029,7 +3029,7 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx) cfg80211_sta_opmode_change_notify(sdata->dev, rx->sta->addr, &sta_opmode, - GFP_KERNEL); + GFP_ATOMIC); goto handled; } case WLAN_HT_ACTION_NOTIFY_CHANWIDTH: { @@ -3066,7 +3066,7 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx) cfg80211_sta_opmode_change_notify(sdata->dev, rx->sta->addr, &sta_opmode, - GFP_KERNEL); + GFP_ATOMIC); goto handled; } default: