From: Simon Wunderlich Date: Wed, 23 Jan 2013 14:15:57 +0000 (+0100) Subject: cfg80211: fix channel check in cfg80211_can_use_iftype_chan X-Git-Tag: v3.9-rc1~139^2~31^2^2~80^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=683d41ae6755e6ae297ec09603c229795ab9566e;p=pandora-kernel.git cfg80211: fix channel check in cfg80211_can_use_iftype_chan In commit "cfg80211: check radar interface combinations" a regression was introduced which might lead to NULL dereference if the argument chan = NULL, which might happen in IBSS/wext case (and probably others). Signed-off-by: Simon Wunderlich Signed-off-by: Johannes Berg --- Reading git-diff-tree failed