wifi: cfg80211: get rid of gfp in cfg80211_bss_color_notify
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 1 Feb 2023 12:48:30 +0000 (13:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Feb 2023 11:35:02 +0000 (12:35 +0100)
commit935ef47b16cc5bc15fcd2b3dbc61abb0b7ea671a
tree4b6081432fc60b76327b2d1c26250c984687791d
parent9b89495e479c5fedbf3f2eca4f1c4e9dd481265e
wifi: cfg80211: get rid of gfp in cfg80211_bss_color_notify

Since cfg80211_bss_color_notify() is now always run in non-atomic
context, get rid of gfp_t flags in the routine signature and always use
GFP_KERNEL for netlink message allocation.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/c687724e7b53556f7a2d9cbe3d11cdcf065cb687.1675255390.git.lorenzo@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c