bsc_api: Invert logic of chan_compat_with_mode()

A function called this  way should return 1 if it is compatible, so
something like "if (!chan_compat_with_mode())" will check if it is not
compatible.
diff --git a/openbsc/src/libbsc/bsc_api.c b/openbsc/src/libbsc/bsc_api.c
index c00dc57..f660be9 100644
--- a/openbsc/src/libbsc/bsc_api.c
+++ b/openbsc/src/libbsc/bsc_api.c
@@ -321,11 +321,11 @@
 static int chan_compat_with_mode(struct gsm_lchan *lchan, int chan_mode, int full_rate)
 {
 	if (lchan->type == GSM_LCHAN_SDCCH)
-		return 1;
+		return 0;
 	if (full_rate && lchan->type != GSM_LCHAN_TCH_F)
-		return 1;
+		return 0;
 
-	return 0;
+	return 1;
 }
 
 /**
@@ -341,7 +341,7 @@
 	struct bsc_api *api;
 	api = conn->bts->network->bsc_api;
 
-	if (chan_compat_with_mode(conn->lchan, chan_mode, full_rate) != 0) {
+	if (!chan_compat_with_mode(conn->lchan, chan_mode, full_rate)) {
 		if (handle_new_assignment(conn, chan_mode, full_rate) != 0)
 			goto error;
 	} else {