]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: change return value of notifier function
authorZhao, Gang <gamerh2o@gmail.com>
Mon, 21 Apr 2014 04:53:04 +0000 (12:53 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:33:44 +0000 (17:33 +0200)
commite5b8c445e68d1e5d93510ea64917f1638f5c1df8
tree9f91b3ee792e6d18c421f7aa91ffa2f712ba4280
parent8bea4e55ef4dcf3ed007855a27017f01ff3d0310
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>
net/wireless/core.c
net/wireless/nl80211.c