Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
87b016cb
Commit
87b016cb
authored
Aug 05, 2005
by
Zhu Yi
Committed by
James Ketrenos
Nov 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround kernel BUG_ON panic caused by unexpected duplicate packets.
Signed-off-by:
Zhu Yi
<
yi.zhu@intel.com
>
parent
4f36f808
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/net/wireless/ipw2200.c
drivers/net/wireless/ipw2200.c
+4
-2
No files found.
drivers/net/wireless/ipw2200.c
View file @
87b016cb
...
...
@@ -7696,7 +7696,6 @@ static inline int is_network_packet(struct ipw_priv *priv,
static
inline
int
is_duplicate_packet
(
struct
ipw_priv
*
priv
,
struct
ieee80211_hdr_4addr
*
header
)
{
u16
fc
=
le16_to_cpu
(
header
->
frame_ctl
);
u16
sc
=
le16_to_cpu
(
header
->
seq_ctl
);
u16
seq
=
WLAN_GET_SEQ_SEQ
(
sc
);
u16
frag
=
WLAN_GET_SEQ_FRAG
(
sc
);
...
...
@@ -7760,7 +7759,10 @@ static inline int is_duplicate_packet(struct ipw_priv *priv,
return
0
;
drop:
BUG_ON
(
!
(
fc
&
IEEE80211_FCTL_RETRY
));
/* Comment this line now since we observed the card receives
* duplicate packets but the FCTL_RETRY bit is not set in the
* IBSS mode with fragmentation enabled.
BUG_ON(!(le16_to_cpu(header->frame_ctl) & IEEE80211_FCTL_RETRY)); */
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment