aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/wlan-ng/files/msleep-vs-mdelay.patch
blob: d98116b07c2e10df21cc4c4e6c0e60721f94f57c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- linux-wlan-ng-0.2.2/src/prism2/driver/prism2_usb.c~msleep-vs-mdelay
+++ linux-wlan-ng-0.2.2/src/prism2/driver/prism2_usb.c
@@ -279,7 +279,7 @@
 		 * is "wake up", so that's easy.
 		 * (I'd like a better way to do this, really.)
 		 */
-		msleep(100);
+		mdelay(100);
 
 		/* Now delete the CTLXs, because no-one else can now. */
 		list_for_each_safe(entry, temp, &cleanlist) {