Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256051
b: refs/heads/master
c: d4d2d28
h: refs/heads/master
i:
  256049: e093395
  256047: f6130ed
v: v3
  • Loading branch information
Tobias Klauser authored and David S. Miller committed Jul 5, 2011
1 parent dbb84b7 commit 174479c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f8d4aa29762fe1ae78ec3164f8f612f7b06d58ea
refs/heads/master: d4d2d288972233fc054f3b3341c2a15865fba7c6
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ipw2x00/libipw_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ int libipw_rx(struct libipw_device *ieee, struct sk_buff *skb,
* 802.11, but makes it easier to use different keys with
* stations that do not support WEP key mapping). */

if (!(hdr->addr1[0] & 0x01) || local->bcrx_sta_key)
if (is_unicast_ether_addr(hdr->addr1) || local->bcrx_sta_key)
(void)hostap_handle_sta_crypto(local, hdr, &crypt,
&sta);
#endif
Expand Down Expand Up @@ -772,7 +772,7 @@ int libipw_rx(struct libipw_device *ieee, struct sk_buff *skb,

#ifdef NOT_YET
if (ieee->iw_mode == IW_MODE_MASTER && !wds && ieee->ap->bridge_packets) {
if (dst[0] & 0x01) {
if (is_multicast_ether_addr(dst)) {
/* copy multicast frame both to the higher layers and
* to the wireless media */
ieee->ap->bridged_multicast++;
Expand Down

0 comments on commit 174479c

Please sign in to comment.