Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103287
b: refs/heads/master
c: 2ff75b7
h: refs/heads/master
i:
  103285: 4a8fbe5
  103283: 9dfb54a
  103279: d1879dc
v: v3
  • Loading branch information
Assaf Krauss authored and John W. Linville committed Jun 30, 2008
1 parent d66e520 commit 39c8b37
Show file tree
Hide file tree
Showing 3 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: 4faeb86070c38c0df9f5a23c3f6acf5538492a33
refs/heads/master: 2ff75b7877c40b1917f23cc5fafccaf3c1ab4745
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/iwlwifi/iwl-rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,6 @@ static void iwl_pass_packet_to_mac80211(struct iwl_priv *priv,
return;
}

stats->flag = 0;
hdr = (struct ieee80211_hdr *)rxb->skb->data;

/* in case of HW accelerated crypto and bad decryption, drop */
Expand Down Expand Up @@ -1197,6 +1196,7 @@ void iwl_rx_reply_rx(struct iwl_priv *priv,

rx_status.antenna = 0;
rx_status.flag = 0;
rx_status.flag |= RX_FLAG_TSFT;

if ((unlikely(rx_start->cfg_phy_cnt > 20))) {
IWL_DEBUG_DROP("dsp size out of range [0,20]: %d/n",
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl4965-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -3492,6 +3492,7 @@ static int iwl4965_mac_beacon_update(struct ieee80211_hw *hw, struct sk_buff *sk
{
struct iwl_priv *priv = hw->priv;
unsigned long flags;
__le64 timestamp;

mutex_lock(&priv->mutex);
IWL_DEBUG_MAC80211("enter\n");
Expand All @@ -3516,6 +3517,8 @@ static int iwl4965_mac_beacon_update(struct ieee80211_hw *hw, struct sk_buff *sk
priv->ibss_beacon = skb;

priv->assoc_id = 0;
timestamp = ((struct ieee80211_mgmt *)skb->data)->u.beacon.timestamp;
priv->timestamp = le64_to_cpu(timestamp) + (priv->beacon_int * 1000);

IWL_DEBUG_MAC80211("leave\n");
spin_unlock_irqrestore(&priv->lock, flags);
Expand Down

0 comments on commit 39c8b37

Please sign in to comment.