Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10235
b: refs/heads/master
c: 0dacca1
h: refs/heads/master
i:
  10233: 8a3205a
  10231: eb66162
v: v3
  • Loading branch information
James Ketrenos authored and Jeff Garzik committed Sep 22, 2005
1 parent 32ca4e3 commit e15643d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a5becf720d6346ffca2d6be6473f603b39322a2
refs/heads/master: 0dacca1f0a53938dd7d5ba35c692bd1a3356d504
9 changes: 5 additions & 4 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -4904,7 +4904,7 @@ static void ipw_rx(struct ipw_priv *priv)
{
struct ipw_rx_mem_buffer *rxb;
struct ipw_rx_packet *pkt;
struct ieee80211_hdr *header;
struct ieee80211_hdr_4addr *header;
u32 r, w, i;
u8 network_packet;

Expand Down Expand Up @@ -4967,8 +4967,9 @@ static void ipw_rx(struct ipw_priv *priv)
#endif

header =
(struct ieee80211_hdr *)(rxb->skb->data +
IPW_RX_FRAME_SIZE);
(struct ieee80211_hdr_4addr *)(rxb->skb->
data +
IPW_RX_FRAME_SIZE);
/* TODO: Check Ad-Hoc dest/source and make sure
* that we are actually parsing these packets
* correctly -- we should probably use the
Expand Down Expand Up @@ -6325,7 +6326,7 @@ we need to heavily modify the ieee80211_skb_to_txb.

static inline void ipw_tx_skb(struct ipw_priv *priv, struct ieee80211_txb *txb)
{
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)
struct ieee80211_hdr_3addr *hdr = (struct ieee80211_hdr_3addr *)
txb->fragments[0]->data;
int i = 0;
struct tfd_frame *tfd;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ipw2200.h
Original file line number Diff line number Diff line change
Expand Up @@ -1654,12 +1654,12 @@ static const long ipw_frequencies[] = {

#define IPW_MAX_CONFIG_RETRIES 10

static inline u32 frame_hdr_len(struct ieee80211_hdr *hdr)
static inline u32 frame_hdr_len(struct ieee80211_hdr_4addr *hdr)
{
u32 retval;
u16 fc;

retval = sizeof(struct ieee80211_hdr);
retval = sizeof(struct ieee80211_hdr_3addr);
fc = le16_to_cpu(hdr->frame_ctl);

/*
Expand Down

0 comments on commit e15643d

Please sign in to comment.