Browse Source

V4L/DVB (4217): Fix a misplaced closing bracket/else, which caused swzigzag not to be called

Thanks to Oliver Endriss for spotting this.

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Manu Abraham 19 years ago
parent
commit
4a4edcca22
1 changed files with 2 additions and 3 deletions
  1. 2 3
      drivers/media/dvb/dvb-core/dvb_frontend.c

+ 2 - 3
drivers/media/dvb/dvb-core/dvb_frontend.c

@@ -570,10 +570,9 @@ static int dvb_frontend_thread(void *data)
 					dvb_frontend_add_event(fe, s);
 					fepriv->status = s;
 				}
-			} else {
-				dvb_frontend_swzigzag(fe);
 			}
-		}
+		} else
+			dvb_frontend_swzigzag(fe);
 	}
 
 	if (dvb_shutdown_timeout) {