diff options
author | Yan-Hsuan Chuang <yhchuang@realtek.com> | 2018-10-23 11:24:44 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-11-09 08:56:12 +0100 |
commit | c752cac9db1b0c469db7ba9d17af4ba708984db5 (patch) | |
tree | b0bb03fd78cc8fcde0aeb0971afbaffde4dbbc0c /net/mac80211/iface.c | |
parent | 81c5dce2cd0bb0ecb61b6212410da5eb78cd8f79 (diff) |
mac80211: fix GFP_KERNEL under tasklet context
cfg80211_sta_opmode_change_notify needs a gfp_t flag to hint the nl80211
stack when allocating new skb, but it is called under tasklet context
here with GFP_KERNEL and kernel will yield a warning about it.
Cc: stable@vger.kernel.org
Fixes: ff84e7bfe176 ("mac80211: Add support to notify ht/vht opmode modification.")
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
ACKed-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions