mac80211: introduce flush operation
[deliverable/linux.git] / net / mac80211 / driver-ops.h
index 727e4cf7b8a68cb7fc4891317939eff300a6a447..cbe133bcdf34548b8975ce0d6881466aa51c7c9c 100644 (file)
@@ -259,4 +259,11 @@ static inline void drv_rfkill_poll(struct ieee80211_local *local)
        if (local->ops->rfkill_poll)
                local->ops->rfkill_poll(&local->hw);
 }
+
+static inline void drv_flush(struct ieee80211_local *local, bool drop)
+{
+       trace_drv_flush(local, drop);
+       if (local->ops->flush)
+               local->ops->flush(&local->hw, drop);
+}
 #endif /* __MAC80211_DRIVER_OPS */
This page took 0.02426 seconds and 5 git commands to generate.