summaryrefslogtreecommitdiff
path: root/lib/op-rfkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/op-rfkill.c')
-rw-r--r--lib/op-rfkill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/op-rfkill.c b/lib/op-rfkill.c
index 3e9e793..5cdf738 100644
--- a/lib/op-rfkill.c
+++ b/lib/op-rfkill.c
@@ -120,7 +120,7 @@ int wimaxll_rfkill(struct wimaxll_handle *wmx, enum wimax_rf_state state)
}
/* Read the message ACK from netlink */
result = wimaxll_wait_for_ack(wmx);
- if (result < 0)
+ if (result < 0 && result != -ENODEV)
wimaxll_msg(wmx, "E: RFKILL: operation failed: %zd\n", result);
error_msg_prep:
error_msg_send: