Skip to content

Commit

Permalink
[PATCH] ieee80211: Updated ipw2100 to be compatible with ieee80211_hd…
Browse files Browse the repository at this point in the history
…r changes

tree 992b203395c50342f1cced415acae6177344e270
parent c59bb604a2ff4e40232ff0422e7adc44e3b007a0
author James Ketrenos <jketreno@linux.intel.com> 1126714006 -0500
committer James Ketrenos <jketreno@linux.intel.com> 1127315910 -0500

Updated ipw2100 to be compatible with ieee80211_hdr changes.

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
James Ketrenos authored and Jeff Garzik committed Sep 22, 2005
1 parent a3536c8 commit 99a4b23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ipw2100.c
Original file line number Diff line number Diff line change
Expand Up @@ -2948,7 +2948,7 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv)
int next = txq->next;
int i = 0;
struct ipw2100_data_header *ipw_hdr;
struct ieee80211_hdr *hdr;
struct ieee80211_hdr_3addr *hdr;

while (!list_empty(&priv->tx_pend_list)) {
/* if there isn't enough space in TBD queue, then
Expand Down Expand Up @@ -2984,7 +2984,7 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv)
packet->index = txq->next;

ipw_hdr = packet->info.d_struct.data;
hdr = (struct ieee80211_hdr *)packet->info.d_struct.txb->
hdr = (struct ieee80211_hdr_3addr *)packet->info.d_struct.txb->
fragments[0]->data;

if (priv->ieee->iw_mode == IW_MODE_INFRA) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/ipw2100.h
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ struct ipw2100_priv {
struct ipw2100_rx {
union {
unsigned char payload[IPW_RX_NIC_BUFFER_LENGTH];
struct ieee80211_hdr header;
struct ieee80211_hdr_4addr header;
u32 status;
struct ipw2100_notification notification;
struct ipw2100_cmd_header command;
Expand Down

0 comments on commit 99a4b23

Please sign in to comment.