summaryrefslogtreecommitdiffstats
path: root/src/lce.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-01-11 21:40:32 +0100
committerPatrick McHardy <kaber@trash.net>2011-01-11 21:40:32 +0100
commit42510e7c77e64f490906a22bd724c5e3e91fdf2f (patch)
tree94fab4da9f57d26379ab257fd54bdb17517e68db /src/lce.c
parent3e558a28327c820e4ed8d9034945c4b31d59f51d (diff)
lce: really fix set-up condition
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/lce.c')
-rw-r--r--src/lce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lce.c b/src/lce.c
index 32d5f08..7ec30c9 100644
--- a/src/lce.c
+++ b/src/lce.c
@@ -918,7 +918,7 @@ static struct dect_data_link *dect_ddl_establish(struct dect_handle *dh,
dect_ddl_set_ipui(dh, ddl, ipui);
if (dh->mode == DECT_MODE_FP &&
- dect_setup_capability(dh, ipui) != DECT_SETUP_NO_FAST_SETUP) {
+ dect_setup_capability(dh, ipui) == DECT_SETUP_NO_FAST_SETUP) {
ddl->page_timer = dect_timer_alloc(dh);
if (ddl->page_timer == NULL)
goto err2;