git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iwlagn: prepare for multi-TB commands
[pandora-kernel.git]
/
drivers
/
net
/
wireless
/
iwlwifi
/
iwl-6000.c
diff --git
a/drivers/net/wireless/iwlwifi/iwl-6000.c
b/drivers/net/wireless/iwlwifi/iwl-6000.c
index
a7921f9
..
860c26e
100644
(file)
--- a/
drivers/net/wireless/iwlwifi/iwl-6000.c
+++ b/
drivers/net/wireless/iwlwifi/iwl-6000.c
@@
-221,9
+221,9
@@
static int iwl6000_hw_channel_switch(struct iwl_priv *priv,
struct ieee80211_vif *vif = ctx->vif;
struct iwl_host_cmd hcmd = {
.id = REPLY_CHANNEL_SWITCH,
- .len =
sizeof(cmd)
,
+ .len =
{ sizeof(cmd), }
,
.flags = CMD_SYNC,
- .data =
&cmd
,
+ .data =
{ &cmd, }
,
};
cmd.band = priv->band == IEEE80211_BAND_2GHZ;