Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150377
b: refs/heads/master
c: 13bdcd9
h: refs/heads/master
i:
  150375: 08349cf
v: v3
  • Loading branch information
Gábor Stefanik authored and John W. Linville committed May 20, 2009
1 parent b088b57 commit 55b40c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: cccaec98a3ddbf20f22604f9ba405781c5f89f0e
refs/heads/master: 13bdcd90bbce7c07e0dda0ff31e9497b8cabf1eb
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/zd1211rw/zd_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,9 @@ static void cs_set_control(struct zd_mac *mac, struct zd_ctrlset *cs,
if (info->flags & IEEE80211_TX_CTL_FIRST_FRAGMENT)
cs->control |= ZD_CS_NEED_RANDOM_BACKOFF;

/* Multicast */
if (is_multicast_ether_addr(header->addr1))
cs->control |= ZD_CS_MULTICAST;
/* No ACK expected (multicast, etc.) */
if (info->flags & IEEE80211_TX_CTL_NO_ACK)
cs->control |= ZD_CS_NO_ACK;

/* PS-POLL */
if (ieee80211_is_pspoll(header->frame_control))
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/zd1211rw/zd_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct zd_ctrlset {

/* zd_ctrlset control field */
#define ZD_CS_NEED_RANDOM_BACKOFF 0x01
#define ZD_CS_MULTICAST 0x02
#define ZD_CS_NO_ACK 0x02

#define ZD_CS_FRAME_TYPE_MASK 0x0c
#define ZD_CS_DATA_FRAME 0x00
Expand Down

0 comments on commit 55b40c0

Please sign in to comment.