]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: reg: fix reg_call_crda() return value bug
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 10:05:05 +0000 (12:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 14:17:08 +0000 (16:17 +0200)
commit1c93acce67b418875dbb901c85ea7294628dce6d
treedfe1c9e8512b5a7830e70eadea9802db62f678f9
parent9835185295535c5429eb4ae5accd62e5b36adb15
cfg80211: reg: fix reg_call_crda() return value bug

The function reg_call_crda() can't actually validly return
REG_REQ_IGNORE as it does now when calling CRDA fails since
that return value isn't handled properly. Fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c