Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79434
b: refs/heads/master
c: 4365929
h: refs/heads/master
v: v3
  • Loading branch information
Holger Schurig authored and David S. Miller committed Jan 28, 2008
1 parent 597b64a commit d1a6c6f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae3e0fcf901e4b7df87aef7ab39093e142a8de8b
refs/heads/master: 4365929d176b47a78d10aca0d1dee2afdfcbe4f2
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/libertas/dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ struct lbs_private {
int mesh_open;
int infra_open;
int mesh_autostart_enabled;
__le16 boot2_version;

char name[DEV_NAME_LEN];

Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/libertas/if_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,13 @@ static void if_usb_free(struct if_usb_card *cardp)

static void if_usb_setup_firmware(struct lbs_private *priv)
{
struct if_usb_card *cardp = priv->card;
struct cmd_ds_set_boot2_ver b2_cmd;
struct cmd_ds_802_11_fw_wake_method wake_method;

b2_cmd.hdr.size = cpu_to_le16(sizeof(b2_cmd));
b2_cmd.action = 0;
b2_cmd.version = priv->boot2_version;
b2_cmd.version = cardp->boot2_version;

if (lbs_cmd_with_response(priv, CMD_SET_BOOT2_VER, &b2_cmd))
lbs_deb_usb("Setting boot2 version failed\n");
Expand Down Expand Up @@ -234,7 +235,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;
cardp->boot2_version = udev->descriptor.bcdDevice;

if_usb_submit_rx_urb(cardp);

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/libertas/if_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ struct if_usb_card {
uint8_t fwfinalblk;
uint8_t surprise_removed;

__le16 boot2_version;
};

/** fwheader */
Expand Down

0 comments on commit d1a6c6f

Please sign in to comment.