]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/mac80211/mesh_hwmp.c
mac80211: redefine usage of the mac80211 workqueue
[karo-tx-linux.git] / net / mac80211 / mesh_hwmp.c
index e93c37ef6a48fa2327d128ca1e352a1e63cfa3fc..11ab71a68ff99957a2bfc14180e7206095dc6d94 100644 (file)
@@ -660,14 +660,14 @@ static void mesh_queue_preq(struct mesh_path *mpath, u8 flags)
        spin_unlock(&ifmsh->mesh_preq_queue_lock);
 
        if (time_after(jiffies, ifmsh->last_preq + min_preq_int_jiff(sdata)))
-               queue_work(sdata->local->hw.workqueue, &ifmsh->work);
+               ieee80211_queue_work(sdata->local->hw.workqueue, &ifmsh->work);
 
        else if (time_before(jiffies, ifmsh->last_preq)) {
                /* avoid long wait if did not send preqs for a long time
                 * and jiffies wrapped around
                 */
                ifmsh->last_preq = jiffies - min_preq_int_jiff(sdata) - 1;
-               queue_work(sdata->local->hw.workqueue, &ifmsh->work);
+               ieee80211_queue_work(sdata->local->hw.workqueue, &ifmsh->work);
        } else
                mod_timer(&ifmsh->mesh_path_timer, ifmsh->last_preq +
                                                min_preq_int_jiff(sdata));