commit | 03e2084a843a700089a479e0ffdf5876c7059411 | [log] [tgz] |
---|---|---|
author | Thomas Pedersen <c_tpeder@qca.qualcomm.com> | Tue Apr 24 12:50:41 2012 -0700 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Wed Apr 25 09:36:00 2012 +0300 |
tree | e5b41aa17b6c17712a81d9f85d43d2967fad9b68 | |
parent | 1560ac7d304fdbe603e2fe9cf9564dc81dcccc98 [diff] |
ath6kl: check for sband existence when creating scan cmd The patch "ath6kl: support fw reporting phy capabilities" gave the firmware the ability to disable certain wiphy supported bands. Check if this is the case in ath6kl_wmi_beginscan_cmd to avoid dereferencing a NULL pointer. kvalo: change the patch so that there's no code between declarations Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>