|
@@ -2940,7 +2940,7 @@ static int iwl4965_tx_skb(struct iwl4965_priv *priv,
|
|
|
/* drop all data frame if we are not associated */
|
|
/* drop all data frame if we are not associated */
|
|
|
if (((fc & IEEE80211_FCTL_FTYPE) == IEEE80211_FTYPE_DATA) &&
|
|
if (((fc & IEEE80211_FCTL_FTYPE) == IEEE80211_FTYPE_DATA) &&
|
|
|
(!iwl4965_is_associated(priv) ||
|
|
(!iwl4965_is_associated(priv) ||
|
|
|
- !priv->assoc_id ||
|
|
|
|
|
|
|
+ ((priv->iw_mode == IEEE80211_IF_TYPE_STA) && !priv->assoc_id) ||
|
|
|
!priv->assoc_station_added)) {
|
|
!priv->assoc_station_added)) {
|
|
|
IWL_DEBUG_DROP("Dropping - !iwl4965_is_associated\n");
|
|
IWL_DEBUG_DROP("Dropping - !iwl4965_is_associated\n");
|
|
|
goto drop_unlock;
|
|
goto drop_unlock;
|