diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-05-09 16:18:40 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-05-09 16:18:40 +0000 |
commit | fcf6e6f7ff2d1058102ff0ed9abc711935d4e003 (patch) | |
tree | dfe8591b1365d0ae2e3450c4f49ec94fffebd019 /net-wireless/linux-wlan-ng-modules/files | |
parent | version bump thanks to Jim Faulkner <dogshu@sdf.lonestar.org> in bug 176641 (diff) | |
download | gentoo-2-fcf6e6f7ff2d1058102ff0ed9abc711935d4e003.tar.gz gentoo-2-fcf6e6f7ff2d1058102ff0ed9abc711935d4e003.tar.bz2 gentoo-2-fcf6e6f7ff2d1058102ff0ed9abc711935d4e003.zip |
version bump thanks to frank <skunk@legalise.it> in bug 176562
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-wireless/linux-wlan-ng-modules/files')
-rw-r--r-- | net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.7 | 3 | ||||
-rw-r--r-- | net-wireless/linux-wlan-ng-modules/files/linux-wlan-ng-0.2.7-kernel-2.6.20.patch | 72 |
2 files changed, 75 insertions, 0 deletions
diff --git a/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.7 b/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.7 new file mode 100644 index 000000000000..d68706d62fa9 --- /dev/null +++ b/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.7 @@ -0,0 +1,3 @@ +MD5 b2b0ffd11d27c72a9c01b8a9ef3832b7 linux-wlan-ng-0.2.7.tar.bz2 456941 +RMD160 8c9e065a5038aed3750d4b7e0085e461a5ec19b1 linux-wlan-ng-0.2.7.tar.bz2 456941 +SHA256 9dbd0f6c92b33ae8b96c5a045a341a00b2454492c2229839d056e4fd1488bca5 linux-wlan-ng-0.2.7.tar.bz2 456941 diff --git a/net-wireless/linux-wlan-ng-modules/files/linux-wlan-ng-0.2.7-kernel-2.6.20.patch b/net-wireless/linux-wlan-ng-modules/files/linux-wlan-ng-0.2.7-kernel-2.6.20.patch new file mode 100644 index 000000000000..4c88ad1b2432 --- /dev/null +++ b/net-wireless/linux-wlan-ng-modules/files/linux-wlan-ng-0.2.7-kernel-2.6.20.patch @@ -0,0 +1,72 @@ +diff -rU2 linux-wlan-ng-0.2.7/src/prism2/driver/hfa384x.c linux-wlan-ng-0.2.7.new/src/prism2/driver/hfa384x.c +--- linux-wlan-ng-0.2.7/src/prism2/driver/hfa384x.c 2006-11-10 15:28:33.000000000 +0100 ++++ linux-wlan-ng-0.2.7.new/src/prism2/driver/hfa384x.c 2007-04-30 12:47:05.000000000 +0200 +@@ -353,7 +353,7 @@ + skb_queue_head_init(&hw->authq); + +- INIT_WORK(&hw->link_bh, prism2sta_processing_defer, hw); ++ INIT_WORK2(&hw->link_bh, prism2sta_processing_defer); + +- INIT_WORK(&hw->commsqual_bh, prism2sta_commsqual_defer, hw); ++ INIT_WORK2(&hw->commsqual_bh, prism2sta_commsqual_defer); + + init_timer(&hw->commsqual_timer); +diff -rU2 linux-wlan-ng-0.2.7/src/prism2/driver/hfa384x_usb.c linux-wlan-ng-0.2.7.new/src/prism2/driver/hfa384x_usb.c +--- linux-wlan-ng-0.2.7/src/prism2/driver/hfa384x_usb.c 2006-11-02 16:56:40.000000000 +0100 ++++ linux-wlan-ng-0.2.7.new/src/prism2/driver/hfa384x_usb.c 2007-04-30 12:11:57.000000000 +0200 +@@ -712,6 +712,6 @@ + hfa384x_usbctlx_completion_task, + (unsigned long)hw); +- INIT_WORK(&hw->link_bh, prism2sta_processing_defer, hw); +- INIT_WORK(&hw->usb_work, hfa384x_usb_defer, hw); ++ INIT_WORK2(&hw->link_bh, prism2sta_processing_defer); ++ INIT_WORK2(&hw->usb_work, hfa384x_usb_defer); + + init_timer(&hw->throttle); +@@ -734,5 +734,5 @@ + hw->state = HFA384x_STATE_INIT; + +- INIT_WORK(&hw->commsqual_bh, prism2sta_commsqual_defer, hw); ++ INIT_WORK2(&hw->commsqual_bh, prism2sta_commsqual_defer); + init_timer(&hw->commsqual_timer); + hw->commsqual_timer.data = (unsigned long) hw; +diff -rU2 linux-wlan-ng-0.2.7/src/prism2/driver/prism2sta.c linux-wlan-ng-0.2.7.new/src/prism2/driver/prism2sta.c +--- linux-wlan-ng-0.2.7/src/prism2/driver/prism2sta.c 2006-11-02 16:56:40.000000000 +0100 ++++ linux-wlan-ng-0.2.7.new/src/prism2/driver/prism2sta.c 2007-04-30 12:44:37.000000000 +0200 +@@ -1439,7 +1439,7 @@ + } + +-void prism2sta_processing_defer(void *data) ++void prism2sta_processing_defer(struct work_struct *data) + { +- hfa384x_t *hw = (hfa384x_t *) data; ++ hfa384x_t *hw = container_of(data, struct hfa384x, link_bh); + wlandevice_t *wlandev = hw->wlandev; + hfa384x_bytestr32_t ssid; +@@ -1541,5 +1541,5 @@ + + /* Get the ball rolling on the comms quality stuff */ +- prism2sta_commsqual_defer(hw); ++ prism2sta_commsqual_defer(&hw->commsqual_bh); + } + break; +@@ -2414,5 +2414,5 @@ + #endif + +-void prism2sta_commsqual_defer(void *data) ++void prism2sta_commsqual_defer(struct work_struct *data) + { + hfa384x_t *hw = (hfa384x_t *) data; +diff -rU2 linux-wlan-ng-0.2.7/src/prism2/include/prism2/prism2mgmt.h linux-wlan-ng-0.2.7.new/src/prism2/include/prism2/prism2mgmt.h +--- linux-wlan-ng-0.2.7/src/prism2/include/prism2/prism2mgmt.h 2005-04-26 17:43:07.000000000 +0200 ++++ linux-wlan-ng-0.2.7.new/src/prism2/include/prism2/prism2mgmt.h 2007-04-30 12:08:14.000000000 +0200 +@@ -169,7 +169,7 @@ + int prism2mgmt_get_grpaddr_index( UINT32 did ); + +-void prism2sta_processing_defer(void *data); ++void prism2sta_processing_defer(struct work_struct *data); + +-void prism2sta_commsqual_defer(void *data); ++void prism2sta_commsqual_defer(struct work_struct *data); + void prism2sta_commsqual_timer(unsigned long data); + |