From: Dmitry Shmidt Date: Tue, 24 Jun 2014 20:19:46 +0000 (-0700) Subject: net: wireless: Add NL80211_FLAG_NEED_WIPHY flag to vendor command X-Git-Tag: firefly_0821_release~4090^2~307 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6f56efe7de93cd091ee456921a6043da370c22a;p=firefly-linux-kernel-4.4.55.git net: wireless: Add NL80211_FLAG_NEED_WIPHY flag to vendor command Change-Id: I52ee3bc8a422c2a4c57cccccccd6ba3e721b4c01 Signed-off-by: Dmitry Shmidt --- diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index ddb993fb0d38..150a38fc346e 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -9153,7 +9153,8 @@ static struct genl_ops nl80211_ops[] = { .doit = nl80211_vendor_cmd, .policy = nl80211_policy, .flags = GENL_ADMIN_PERM, - .internal_flags = NL80211_FLAG_NEED_RTNL, + .internal_flags = NL80211_FLAG_NEED_WIPHY | + NL80211_FLAG_NEED_RTNL, }, };