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)
commit480908a7ec5f2d37d5610b7d9bc48a38f2093876
tree2fd754b7644152536f6372842ed899aada0606de
parentfd453d3c53eed367f18a0c75bd855cdfc9d6d416
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