On Fri, Oct 10, 2008 at 11:11 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > sta_id = iwl_get_ra_sta_id(priv, hdr); > if (txq->sched_retry && unlikely(sta_id == IWL_INVALID_STATION)) { > IWL_ERROR("Station not known\n"); > return; > } > > if (txq->sched_retry) { > [...] > } else { > [...] > if (index != -1) { > int freed = iwl_tx_queue_reclaim(priv, txq_id, index); > if (tid != MAX_TID_COUNT) > priv->stations[sta_id].tid[tid].tfds_in_queue -= freed; > [...] > > > priv->stations has 32 entries, IWL_INVALID_STATION is 255. Don't see a problem this is what iwl_find_station returns if it cannot find Anyhow I've rewritten the whole code, the patch is on the way. Tomas -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html