]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: ibss: handle cfg80211_chandef_dfs_required() error codes
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 20 Feb 2014 14:36:23 +0000 (16:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 21 Feb 2014 08:37:46 +0000 (09:37 +0100)
commit67dcab8bd34ad4384fdcc098e5c80fac19b68fe9
tree9f86aa5fbd6a73e965d1e99e5e737a0181541b6d
parent0acb4231a2430abb6f0bc13d491c914ca23a7fcb
mac80211: ibss: handle cfg80211_chandef_dfs_required() error codes

Error codes returned by cfg80211_chandef_dfs_required() are ignored
when trying to join an IBSS.  Fix this by printing an error and
returning.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c