diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-05-29 04:34:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-03 15:00:20 -0400 |
commit | 885ba202cabd90b8ade1fe59185dc96ed4d69e02 (patch) | |
tree | e39db12bce33d726492b6226a7f24066aaa3775e /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 4a4a9e81aed702421ef3e782f82d4e929fb81796 (diff) |
iwlwifi: remove 4965 from alive_resp structures
This patch removes 4965 from alive_resp and init_alivie_resp.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 5a5306de2956..ee9fe56552cb 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -1927,11 +1927,11 @@ static void iwl4965_rx_reply_tx(struct iwl_priv *priv, | |||
1927 | } | 1927 | } |
1928 | 1928 | ||
1929 | 1929 | ||
1930 | static void iwl4965_rx_reply_alive(struct iwl_priv *priv, | 1930 | static void iwl_rx_reply_alive(struct iwl_priv *priv, |
1931 | struct iwl_rx_mem_buffer *rxb) | 1931 | struct iwl_rx_mem_buffer *rxb) |
1932 | { | 1932 | { |
1933 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; | 1933 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; |
1934 | struct iwl4965_alive_resp *palive; | 1934 | struct iwl_alive_resp *palive; |
1935 | struct delayed_work *pwork; | 1935 | struct delayed_work *pwork; |
1936 | 1936 | ||
1937 | palive = &pkt->u.alive_frame; | 1937 | palive = &pkt->u.alive_frame; |
@@ -1945,12 +1945,12 @@ static void iwl4965_rx_reply_alive(struct iwl_priv *priv, | |||
1945 | IWL_DEBUG_INFO("Initialization Alive received.\n"); | 1945 | IWL_DEBUG_INFO("Initialization Alive received.\n"); |
1946 | memcpy(&priv->card_alive_init, | 1946 | memcpy(&priv->card_alive_init, |
1947 | &pkt->u.alive_frame, | 1947 | &pkt->u.alive_frame, |
1948 | sizeof(struct iwl4965_init_alive_resp)); | 1948 | sizeof(struct iwl_init_alive_resp)); |
1949 | pwork = &priv->init_alive_start; | 1949 | pwork = &priv->init_alive_start; |
1950 | } else { | 1950 | } else { |
1951 | IWL_DEBUG_INFO("Runtime Alive received.\n"); | 1951 | IWL_DEBUG_INFO("Runtime Alive received.\n"); |
1952 | memcpy(&priv->card_alive, &pkt->u.alive_frame, | 1952 | memcpy(&priv->card_alive, &pkt->u.alive_frame, |
1953 | sizeof(struct iwl4965_alive_resp)); | 1953 | sizeof(struct iwl_alive_resp)); |
1954 | pwork = &priv->alive_start; | 1954 | pwork = &priv->alive_start; |
1955 | } | 1955 | } |
1956 | 1956 | ||
@@ -2279,7 +2279,7 @@ static void iwl4965_rx_card_state_notif(struct iwl_priv *priv, | |||
2279 | */ | 2279 | */ |
2280 | static void iwl4965_setup_rx_handlers(struct iwl_priv *priv) | 2280 | static void iwl4965_setup_rx_handlers(struct iwl_priv *priv) |
2281 | { | 2281 | { |
2282 | priv->rx_handlers[REPLY_ALIVE] = iwl4965_rx_reply_alive; | 2282 | priv->rx_handlers[REPLY_ALIVE] = iwl_rx_reply_alive; |
2283 | priv->rx_handlers[REPLY_ADD_STA] = iwl4965_rx_reply_add_sta; | 2283 | priv->rx_handlers[REPLY_ADD_STA] = iwl4965_rx_reply_add_sta; |
2284 | priv->rx_handlers[REPLY_ERROR] = iwl4965_rx_reply_error; | 2284 | priv->rx_handlers[REPLY_ERROR] = iwl4965_rx_reply_error; |
2285 | priv->rx_handlers[CHANNEL_SWITCH_NOTIFICATION] = iwl4965_rx_csa; | 2285 | priv->rx_handlers[CHANNEL_SWITCH_NOTIFICATION] = iwl4965_rx_csa; |
@@ -3423,7 +3423,7 @@ static void __iwl4965_down(struct iwl_priv *priv) | |||
3423 | priv->cfg->ops->lib->free_shared_mem(priv); | 3423 | priv->cfg->ops->lib->free_shared_mem(priv); |
3424 | 3424 | ||
3425 | exit: | 3425 | exit: |
3426 | memset(&priv->card_alive, 0, sizeof(struct iwl4965_alive_resp)); | 3426 | memset(&priv->card_alive, 0, sizeof(struct iwl_alive_resp)); |
3427 | 3427 | ||
3428 | if (priv->ibss_beacon) | 3428 | if (priv->ibss_beacon) |
3429 | dev_kfree_skb(priv->ibss_beacon); | 3429 | dev_kfree_skb(priv->ibss_beacon); |
@@ -5075,7 +5075,7 @@ static ssize_t show_version(struct device *d, | |||
5075 | struct device_attribute *attr, char *buf) | 5075 | struct device_attribute *attr, char *buf) |
5076 | { | 5076 | { |
5077 | struct iwl_priv *priv = d->driver_data; | 5077 | struct iwl_priv *priv = d->driver_data; |
5078 | struct iwl4965_alive_resp *palive = &priv->card_alive; | 5078 | struct iwl_alive_resp *palive = &priv->card_alive; |
5079 | 5079 | ||
5080 | if (palive->is_valid) | 5080 | if (palive->is_valid) |
5081 | return sprintf(buf, "fw version: 0x%01X.0x%01X.0x%01X.0x%01X\n" | 5081 | return sprintf(buf, "fw version: 0x%01X.0x%01X.0x%01X.0x%01X\n" |