diff options
author | 2012-04-24 12:50:41 -0700 | |
---|---|---|
committer | 2012-04-25 09:36:00 +0300 | |
commit | 03e2084a843a700089a479e0ffdf5876c7059411 (patch) | |
tree | e5b41aa17b6c17712a81d9f85d43d2967fad9b68 /lib/vsprintf.c | |
parent | ath6kl: include in.h explicitly (diff) | |
download | linux-rng-03e2084a843a700089a479e0ffdf5876c7059411.tar.xz linux-rng-03e2084a843a700089a479e0ffdf5876c7059411.zip |
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 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions