> + } else { > + ieee80211_stop_queues_by_reason(&sdata->local->hw, > + IEEE80211_QUEUE_STOP_REASON_CSA); Why to stop the queues before the switching time > + ifsta->flags |= IEEE80211_STA_CSA_RECEIVED; > + exp = sw_elem->count * (1024 * bss->beacon_int / 1000 * HZ / 1000); > + mod_timer(&ifsta->chswitch_timer, jiffies + exp); What about: mod_timer(&ifsta->chswitch_timer, jiffies + msecs_to_jiffies(sw_elm->count * local->hw.conf.beacon_int)); > + } > +} Thanks 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