diff options
author | Luis Carlos Cobo <luisca@cozybit.com> | 2007-08-02 17:19:24 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 23:50:15 (GMT) |
commit | 63f0023bc34073bea8452a4770540c954f98208f (patch) | |
tree | a38556a66eb9ca81a2bac770ba32e3c6fe5f234a /drivers/net/wireless/libertas/if_usb.c | |
parent | 2afc0c5d71a3dec6d35f3a234ed986d635ef41ad (diff) | |
download | linux-fsl-qoriq-63f0023bc34073bea8452a4770540c954f98208f.tar.xz |
[PATCH] libertas: pass boot2 version to firmware
Boot2 version used to be hardcoded in the uploaded firmware,
this patch preserves the boot2 version before uploading firmware
and sends it to the firmware again on resume.
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.c')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index d28802f..53d4796 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c @@ -219,6 +219,7 @@ static int if_usb_probe(struct usb_interface *intf, priv->hw_host_to_card = if_usb_host_to_card; priv->hw_get_int_status = if_usb_get_int_status; priv->hw_read_event_cause = if_usb_read_event_cause; + priv->boot2_version = udev->descriptor.bcdDevice; if (libertas_activate_card(priv)) goto err_activate_card; |