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
9d5b880b
Commit
9d5b880b
authored
Oct 19, 2005
by
Hong Liu
Committed by
James Ketrenos
Nov 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed problem with not being able to send broadcast packets.
Signed-off-by:
James Ketrenos
<
jketreno@linux.intel.com
>
parent
03520576
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
drivers/net/wireless/ipw2200.c
drivers/net/wireless/ipw2200.c
+6
-3
No files found.
drivers/net/wireless/ipw2200.c
View file @
9d5b880b
...
...
@@ -7456,7 +7456,8 @@ static void ipw_handle_data_packet(struct ipw_priv *priv,
/* HW decrypt will not clear the WEP bit, MIC, PN, etc. */
hdr
=
(
struct
ieee80211_hdr_4addr
*
)
rxb
->
skb
->
data
;
if
(
priv
->
ieee
->
iw_mode
!=
IW_MODE_MONITOR
&&
(
is_multicast_ether_addr
(
hdr
->
addr1
)
?
((
is_multicast_ether_addr
(
hdr
->
addr1
)
||
is_broadcast_ether_addr
(
hdr
->
addr1
))
?
!
priv
->
ieee
->
host_mc_decrypt
:
!
priv
->
ieee
->
host_decrypt
))
ipw_rebuild_decrypted_skb
(
priv
,
rxb
->
skb
);
...
...
@@ -9652,7 +9653,8 @@ static inline int ipw_tx_skb(struct ipw_priv *priv, struct ieee80211_txb *txb,
switch
(
priv
->
ieee
->
iw_mode
)
{
case
IW_MODE_ADHOC
:
hdr_len
=
IEEE80211_3ADDR_LEN
;
unicast
=
!
is_multicast_ether_addr
(
hdr
->
addr1
);
unicast
=
!
(
is_multicast_ether_addr
(
hdr
->
addr1
)
||
is_broadcast_ether_addr
(
hdr
->
addr1
));
id
=
ipw_find_station
(
priv
,
hdr
->
addr1
);
if
(
id
==
IPW_INVALID_STATION
)
{
id
=
ipw_add_station
(
priv
,
hdr
->
addr1
);
...
...
@@ -9667,7 +9669,8 @@ static inline int ipw_tx_skb(struct ipw_priv *priv, struct ieee80211_txb *txb,
case
IW_MODE_INFRA
:
default:
unicast
=
!
is_multicast_ether_addr
(
hdr
->
addr3
);
unicast
=
!
(
is_multicast_ether_addr
(
hdr
->
addr3
)
||
is_broadcast_ether_addr
(
hdr
->
addr3
));
hdr_len
=
IEEE80211_3ADDR_LEN
;
id
=
0
;
break
;
...
...
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