]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulatory: use proper enum return value
authorJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 12:35:07 +0000 (14:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 12:35:07 +0000 (14:35 +0200)
commit3430140ad9da9ec1caaf800af6b0378351919f9c
treeff00e7afb37f9a99ae396b6fd4f02f3c8aa6f630
parentceca7b7121795ef81bd598a240d53a925662d0c1
regulatory: use proper enum return value

get_reg_request_treatment() returns 0 in one case but is
defined to return an enum, use the proper value REG_REQ_OK.

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