commit | 11ba964d4f936609a04e8b9f2051f6027ef761ae | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Wed Aug 19 19:45:50 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Aug 20 11:36:07 2009 -0400 |
tree | 82bcec21fef9364e1fb27cb4091c7950eadcf7ad | |
parent | 5904d2067680e9bb73a4816fa6b9eec49355c9c8 [diff] |
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 <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>