summaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorZhao, Gang <gamerh2o@gmail.com>2014-04-21 06:53:04 +0200
committerJohannes Berg <johannes.berg@intel.com>2014-04-25 17:33:44 +0200
commit6784c7db8d43d29aab7f520b54f3aa0c5d51ecbc (patch)
tree9f91b3ee792e6d18c421f7aa91ffa2f712ba4280 /net/wireless/nl80211.c
parentcfg80211: change wiphy_to_dev function name (diff)
downloadlinux-6784c7db8d43d29aab7f520b54f3aa0c5d51ecbc.tar.xz
linux-6784c7db8d43d29aab7f520b54f3aa0c5d51ecbc.zip
cfg80211: change return value of notifier function
Return NOTIFY_DONE if we don't care this time's notification, return NOTIFY_OK if we successfully handled this time's notification. That's the formal way to do it. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
-rw-r--r--net/wireless/nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 6550e20c8e49..fce423a4e96a 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -11672,7 +11672,7 @@ static int nl80211_netlink_notify(struct notifier_block * nb,
rcu_read_unlock();
- return NOTIFY_DONE;
+ return NOTIFY_OK;
}
static struct notifier_block nl80211_netlink_notifier = {