Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193695
b: refs/heads/master
c: 254aebf
h: refs/heads/master
i:
  193693: a820283
  193691: 3ee4027
  193687: 9c34b93
  193679: ceb359f
  193663: 5e77599
v: v3
  • Loading branch information
Johannes Berg authored and Reinette Chatre committed Mar 10, 2010
1 parent f27a0f9 commit f158812
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 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: b4665df448b316fd5282f4947e27eaf92dc105bb
refs/heads/master: 254aebf3d0439e7b0a8318f1604b3fdb4144f689
10 changes: 0 additions & 10 deletions trunk/drivers/net/wireless/iwlwifi/iwl-tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,16 +761,6 @@ int iwl_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
IWL_DEBUG_TX(priv, "Sending REASSOC frame\n");
#endif

/* drop all non-injected data frame if we are not associated */
if (ieee80211_is_data(fc) &&
!(info->flags & IEEE80211_TX_CTL_INJECTED) &&
(!iwl_is_associated(priv) ||
((priv->iw_mode == NL80211_IFTYPE_STATION) && !priv->assoc_id) ||
!priv->assoc_station_added)) {
IWL_DEBUG_DROP(priv, "Dropping - !iwl_is_associated\n");
goto drop_unlock;
}

hdr_len = ieee80211_hdrlen(fc);

/* Find (or create) index into station table for destination station */
Expand Down
9 changes: 0 additions & 9 deletions trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,15 +504,6 @@ static int iwl3945_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
IWL_DEBUG_TX(priv, "Sending REASSOC frame\n");
#endif

/* drop all non-injected data frame if we are not associated */
if (ieee80211_is_data(fc) &&
!(info->flags & IEEE80211_TX_CTL_INJECTED) &&
(!iwl_is_associated(priv) ||
((priv->iw_mode == NL80211_IFTYPE_STATION) && !priv->assoc_id))) {
IWL_DEBUG_DROP(priv, "Dropping - !iwl_is_associated\n");
goto drop_unlock;
}

spin_unlock_irqrestore(&priv->lock, flags);

hdr_len = ieee80211_hdrlen(fc);
Expand Down

0 comments on commit f158812

Please sign in to comment.