On 04/24/2012 10:50 PM, Thomas Pedersen wrote: > 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. > > Signed-off-by: Thomas Pedersen <c_tpeder@xxxxxxxxxxxxxxxx> Thanks, applied with changes. I really didn't like mixing code and declarations so I changed the code a bit and added few empty lines for readibility. There shouldn't be any functional changes but please do check my changes. Kalle -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html