]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: reg: clarify 'treatment' handling in reg_process_hint()
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 10:58:58 +0000 (12:58 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 16 Oct 2015 07:15:44 +0000 (09:15 +0200)
commit3ec36d3f0f09e8cbceebbf060f2fc752a946e0e7
tree2fd754b7644152536f6372842ed899aada0606de
parent009c0b20b51bf8ef9187924413d30d4ab6c0be95
cfg80211: reg: clarify 'treatment' handling in reg_process_hint()

This function can only deal with treatment values OK and ALREADY_SET
so make the callees not return anything else and warn if they do.

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