]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: propagate set_wiphy failure to userspace
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 3 Aug 2015 08:55:24 +0000 (10:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Aug 2015 15:49:47 +0000 (17:49 +0200)
commit9534c3fe7c33f8e93ff8cf588dd69590d1801a73
tree20735c23e24a5eaf7ab676b249152d233ae6a784
parent4b03b409cc5e1b09490e0826727ae34144fb167f
cfg80211: propagate set_wiphy failure to userspace

If driver failed to setup wiphy params (e.g. rts
threshold, fragmentation treshold) userspace
wasn't properly notified about this. This could
lead to user confusion who would think the command
succeeded even if that wasn't the case.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c