Propagate returns through ifchange_(deconfig|bind).
While doing so remove unnecessary argument null checks and make sure not to alter the stored interface state if the ifch requests failed.
This commit is contained in:
		| @@ -74,7 +74,6 @@ | ||||
| #include "rfkill.h" | ||||
|  | ||||
| struct client_state_t cs = { | ||||
|     .ifDeconfig = 0, | ||||
|     .init = 1, | ||||
|     .epollFd = -1, | ||||
|     .signalFd = -1, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user