From: Johannes Berg Date: Wed, 19 Aug 2009 17:45:50 +0000 (+0200) Subject: mac80211: fix register_hw error path X-Git-Tag: v2.6.32-rc1~703^2~335^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ba964d4f936609a04e8b9f2051f6027ef761ae;p=pandora-kernel.git mac80211: fix register_hw error path "cfg80211: fix alignment problem in scan request" introduced a bug into the error path, because now we allocate the entire scan request and not just the channel list (the channel list is allocated together with the scan request) -- on errors we thus also need to free the entire scan request. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed