summaryrefslogtreecommitdiff
path: root/community/rt3562sta/rt3562sta-2.4.1.1-return_nonvoid.patch
blob: 7416a31f923e8edb5b4567c4b0b5d39b3522f044 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- os/linux/rt_main_dev.c.orig	2010-12-17 12:44:47.000000000 +0100
+++ os/linux/rt_main_dev.c	2010-12-17 19:42:23.000000000 +0100
@@ -1247,7 +1247,7 @@
 	RTMP_OS_TASK *pTask;
 
 	if (pAd->bWriteDat == FALSE)
-		return;
+		return 0;
 
 	DBGPRINT(RT_DEBUG_TRACE, ("-->WriteDatThreadInit()\n"));