diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-hcmd.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-hcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-hcmd.c index acb5a8abd786..0412adf6ef8b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-hcmd.c +++ b/drivers/net/wireless/iwlwifi/iwl-hcmd.c | |||
@@ -101,7 +101,7 @@ EXPORT_SYMBOL(get_cmd_string); | |||
101 | static int iwl_generic_cmd_callback(struct iwl_priv *priv, | 101 | static int iwl_generic_cmd_callback(struct iwl_priv *priv, |
102 | struct iwl_cmd *cmd, struct sk_buff *skb) | 102 | struct iwl_cmd *cmd, struct sk_buff *skb) |
103 | { | 103 | { |
104 | struct iwl4965_rx_packet *pkt = NULL; | 104 | struct iwl_rx_packet *pkt = NULL; |
105 | 105 | ||
106 | if (!skb) { | 106 | if (!skb) { |
107 | IWL_ERROR("Error: Response NULL in %s.\n", | 107 | IWL_ERROR("Error: Response NULL in %s.\n", |
@@ -109,7 +109,7 @@ static int iwl_generic_cmd_callback(struct iwl_priv *priv, | |||
109 | return 1; | 109 | return 1; |
110 | } | 110 | } |
111 | 111 | ||
112 | pkt = (struct iwl4965_rx_packet *)skb->data; | 112 | pkt = (struct iwl_rx_packet *)skb->data; |
113 | if (pkt->hdr.flags & IWL_CMD_FAILED_MSK) { | 113 | if (pkt->hdr.flags & IWL_CMD_FAILED_MSK) { |
114 | IWL_ERROR("Bad return from %s (0x%08X)\n", | 114 | IWL_ERROR("Bad return from %s (0x%08X)\n", |
115 | get_cmd_string(cmd->hdr.cmd), pkt->hdr.flags); | 115 | get_cmd_string(cmd->hdr.cmd), pkt->hdr.flags); |