From bb48b0b44cdccf522a4038bb6a0d257df93fe4ab Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 9 Dec 2008 05:30:11 -0800 Subject: [PATCH] Fix a missing check for requeue for 2.6.28 Signed-off-by: Daniel Bonniot Signed-off-by: Luis R. Rodriguez --- compat/compat.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/compat.diff b/compat/compat.diff index 7e79d99795a6..58219534c244 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -135,7 +135,7 @@ index 5a1a60f..e062c97 100644 /* Send all buffered frames to the station */ while ((skb = skb_dequeue(&sta->tx_filtered)) != NULL) { -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) ++#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,28)) + dev_kfree_skb(skb); +#else sent++; -- 2.30.2