On Tue, Oct 26, 2010 at 7:42 AM, Rajkumar Manoharan <rmanoharan@xxxxxxxxxxx> wrote: > This patch handles the firmware loading properly for > AR7010 HTC devices. This description is vague, you could have said instead that it treats 0x9018 as a AR7010. Luis > Signed-off-by: Rajkumar Manoharan <rmanoharan@xxxxxxxxxxx> > --- > Âdrivers/net/wireless/ath/ath9k/hif_usb.c | Â 10 ++++++++-- > Â1 files changed, 8 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c > index 728d904..6576f68 100644 > --- a/drivers/net/wireless/ath/ath9k/hif_usb.c > +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c > @@ -801,10 +801,16 @@ static int ath9k_hif_usb_download_fw(struct hif_device_usb *hif_dev) > Â Â Â Â} > Â Â Â Âkfree(buf); > > - Â Â Â if ((hif_dev->device_id == 0x7010) || (hif_dev->device_id == 0x7015)) > + Â Â Â switch (hif_dev->device_id) { > + Â Â Â case 0x7010: > + Â Â Â case 0x7015: > + Â Â Â case 0x9018: > Â Â Â Â Â Â Â Âfirm_offset = AR7010_FIRMWARE_TEXT; > - Â Â Â else > + Â Â Â Â Â Â Â break; > + Â Â Â default: > Â Â Â Â Â Â Â Âfirm_offset = AR9271_FIRMWARE_TEXT; > + Â Â Â Â Â Â Â break; > + Â Â Â } > > Â Â Â Â/* > Â Â Â Â * Issue FW download complete command to firmware. > -- > 1.7.3.2 > > -- > 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 > -- 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