Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32081
b: refs/heads/master
c: e8d5969
h: refs/heads/master
i:
  32079: a56cdb5
v: v3
  • Loading branch information
Daniel Drake authored and Jeff Garzik committed Jul 5, 2006
1 parent c8d4f33 commit c9be55c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: d3cef4ee2207033b9f231da308d966f357af34da
refs/heads/master: e8d596972221aea55ae7f5c2bb7d5895039f664d
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/bcm43xx/bcm43xx_xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,14 @@ void bcm43xx_generate_txhdr(struct bcm43xx_private *bcm,
u16 control = 0;
u16 wsec_rate = 0;
u16 encrypt_frame;
const u16 ftype = WLAN_FC_GET_TYPE(le16_to_cpu(wireless_header->frame_ctl));
const int is_mgt = (ftype == IEEE80211_FTYPE_MGMT);

/* Now construct the TX header. */
memset(txhdr, 0, sizeof(*txhdr));

bitrate = bcm->softmac->txrates.default_rate;
bitrate = ieee80211softmac_suggest_txrate(bcm->softmac,
is_multicast_ether_addr(wireless_header->addr1), is_mgt);
ofdm_modulation = !(ieee80211_is_cck_rate(bitrate));
fallback_bitrate = bcm43xx_calc_fallback_rate(bitrate);
fallback_ofdm_modulation = !(ieee80211_is_cck_rate(fallback_bitrate));
Expand Down

0 comments on commit c9be55c

Please sign in to comment.