Johannes Berg 601555cd75 nl80211: don't crash sending invalid chandef
One of the cases for an invalid channel definition is that
the channel pointer is NULL, in which case the warning is
a bit late since we'll dereference the pointer. Bail out
of the function upon warning about this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-11-27 17:27:52 +01:00
..
2014-11-04 13:18:17 +01:00
2014-11-19 18:45:45 +01:00
2013-10-01 12:16:51 +02:00
2014-11-04 13:18:17 +01:00
2014-11-04 13:18:17 +01:00
2012-10-18 10:53:37 +02:00
2014-11-04 13:18:17 +01:00