diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-12 23:35:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-12 23:35:10 -0400 |
commit | a0e1d1d075cc0efe9a3ac8579bce9393d070e09f (patch) | |
tree | 92964216b94d2f9753c2ec043ab5a121f22bbd6d /drivers/net/wireless/libertas/if_bootcmd.c | |
parent | dd14cbc994709a1c5a64ed3621f583c49a27e521 (diff) | |
parent | b232923966f1210e1183353bbd1d52ee53b79fbf (diff) |
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (89 commits)
myri10ge: update driver version
myri10ge: report when the link partner is running in Myrinet mode
myri10ge: limit the number of recoveries
NetXen: Fix link status messages
Revert "[netdrvr e100] experiment with doing RX in a similar manner to eepro100"
[PATCH] libertas: convert libertas_mpp into anycast_mask
[PATCH] libertas: actually send mesh frames to mesh netdev
[PATCH] libertas: deauthenticate from AP in channel switch
[PATCH] libertas: pull current channel from firmware on mesh autostart
[PATCH] libertas: reduce SSID and BSSID mixed-case abuse
[PATCH] libertas: remove WPA_SUPPLICANT structure
[PATCH] libertas: remove structure WLAN_802_11_SSID and libertas_escape_essid
[PATCH] libertas: tweak association debug output
[PATCH] libertas: fix big-endian associate command.
[PATCH] libertas: don't byte-swap firmware version number. It's a byte array.
[PATCH] libertas: more endianness fixes, in tx.c this time
[PATCH] libertas: More endianness fixes.
[PATCH] libertas: first pass at fixing up endianness issues
[PATCH] libertas: sparse fixes
[PATCH] libertas: fix character set in README
...
Diffstat (limited to 'drivers/net/wireless/libertas/if_bootcmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/if_bootcmd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/if_bootcmd.c b/drivers/net/wireless/libertas/if_bootcmd.c index 567000c3e87b..8bca306ffad9 100644 --- a/drivers/net/wireless/libertas/if_bootcmd.c +++ b/drivers/net/wireless/libertas/if_bootcmd.c | |||
@@ -8,6 +8,8 @@ | |||
8 | #include <linux/netdevice.h> | 8 | #include <linux/netdevice.h> |
9 | #include <linux/usb.h> | 9 | #include <linux/usb.h> |
10 | 10 | ||
11 | #define DRV_NAME "usb8xxx" | ||
12 | |||
11 | #include "defs.h" | 13 | #include "defs.h" |
12 | #include "dev.h" | 14 | #include "dev.h" |
13 | #include "if_usb.h" | 15 | #include "if_usb.h" |
@@ -20,12 +22,12 @@ | |||
20 | */ | 22 | */ |
21 | int if_usb_issue_boot_command(wlan_private *priv, int ivalue) | 23 | int if_usb_issue_boot_command(wlan_private *priv, int ivalue) |
22 | { | 24 | { |
23 | struct usb_card_rec *cardp = priv->wlan_dev.card; | 25 | struct usb_card_rec *cardp = priv->card; |
24 | struct bootcmdstr sbootcmd; | 26 | struct bootcmdstr sbootcmd; |
25 | int i; | 27 | int i; |
26 | 28 | ||
27 | /* Prepare command */ | 29 | /* Prepare command */ |
28 | sbootcmd.u32magicnumber = BOOT_CMD_MAGIC_NUMBER; | 30 | sbootcmd.u32magicnumber = cpu_to_le32(BOOT_CMD_MAGIC_NUMBER); |
29 | sbootcmd.u8cmd_tag = ivalue; | 31 | sbootcmd.u8cmd_tag = ivalue; |
30 | for (i=0; i<11; i++) | 32 | for (i=0; i<11; i++) |
31 | sbootcmd.au8dumy[i]=0x00; | 33 | sbootcmd.au8dumy[i]=0x00; |