mirror of
				https://github.com/DigitalDevices/dddvb.git
				synced 2025-03-01 10:35:23 +00:00 
			
		
		
		
	correct lock check order
This commit is contained in:
		| @@ -576,17 +576,13 @@ static int tune(struct dvb_frontend *fe, bool re_tune, | |||||||
| 		state->tune_time = jiffies; | 		state->tune_time = jiffies; | ||||||
| 		return 0; | 		return 0; | ||||||
| 	} | 	} | ||||||
| 	if (*status & FE_HAS_LOCK) |  | ||||||
| 		return 0; |  | ||||||
|  |  | ||||||
| 	r = read_status(fe, status); | 	r = read_status(fe, status); | ||||||
| 	if (r) | 	if (r) | ||||||
| 		return r; | 		return r; | ||||||
|  |  | ||||||
| #if 0 |  | ||||||
| 	if (*status & FE_HAS_LOCK) | 	if (*status & FE_HAS_LOCK) | ||||||
| 		return 0; | 		return 0; | ||||||
|  |  | ||||||
|  | #if 0 | ||||||
| 	if (p->delivery_system == SYS_DVBS) | 	if (p->delivery_system == SYS_DVBS) | ||||||
| 		p->delivery_system = SYS_DVBS2; | 		p->delivery_system = SYS_DVBS2; | ||||||
| 	else | 	else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user