mac80211: sanity check CW_min/CW_max towards driver
authorJohannes Berg <johannes.berg@intel.com>
Wed, 8 Oct 2014 12:37:47 +0000 (14:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Oct 2014 08:42:09 +0000 (10:42 +0200)
commitf409079bb678600be0201cd03afb4731f0480b4e
tree4e2d6d4fe2a20aa048067af57b0bd49cf145e25c
parent723e73acd16d2ea08cdbd8b449b7bc69389b94d4
mac80211: sanity check CW_min/CW_max towards driver

There's no reason to ever set invalid CW_min/CW_max to the
drivers, we should catch it in higher layers. However, the
consequences of setting it wrong can be quite severe, so
double-check at a low level and error out for invalid data.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/driver-ops.h