From 64c96971c6efeef708dce50949415f45219509bf Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Tue, 20 Nov 2007 21:42:09 +0000 Subject: [PATCH] wlan-ng-modules: fix for the fix of wlan-ng-modules 0.2.7 - close #3340 --- packages/wlan-ng/wlan-ng-modules-0.2.7/2.6.22-fixes.patch | 2 +- packages/wlan-ng/wlan-ng-modules_0.2.7.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.7/2.6.22-fixes.patch b/packages/wlan-ng/wlan-ng-modules-0.2.7/2.6.22-fixes.patch index 5027c0066f..affc6567dc 100644 --- a/packages/wlan-ng/wlan-ng-modules-0.2.7/2.6.22-fixes.patch +++ b/packages/wlan-ng/wlan-ng-modules-0.2.7/2.6.22-fixes.patch @@ -37,7 +37,7 @@ Index: linux-wlan-ng-0.2.7/src/prism2/driver/prism2sta.c +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) +void prism2sta_commsqual_defer(struct work_struct *work) +{ -+ hfa384x_t *hw = container_of(work, hfa384x_t, usb_work); ++ hfa384x_t *hw = container_of(work, hfa384x_t, commsqual_bh); +#else void prism2sta_commsqual_defer(void *data) { diff --git a/packages/wlan-ng/wlan-ng-modules_0.2.7.bb b/packages/wlan-ng/wlan-ng-modules_0.2.7.bb index cb8d96e204..bacd662680 100644 --- a/packages/wlan-ng/wlan-ng-modules_0.2.7.bb +++ b/packages/wlan-ng/wlan-ng-modules_0.2.7.bb @@ -1,5 +1,7 @@ require wlan-ng-modules.inc +PR = "r1" + SRC_URI += "ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-${PV}.tar.bz2 \ file://2.6.22-fixes.patch;patch=1" -- 2.39.5