diff options
author | Thomas Pedersen <c_tpeder@qca.qualcomm.com> | 2012-04-24 12:50:41 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-04-25 09:36:00 +0300 |
commit | 03e2084a843a700089a479e0ffdf5876c7059411 (patch) | |
tree | e5b41aa17b6c17712a81d9f85d43d2967fad9b68 /drivers/mtd/lpddr/lpddr_cmds.c | |
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>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions