diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c
index 241345b..27d4964 100644
--- a/mesh/prov-acceptor.c
+++ b/mesh/prov-acceptor.c
break;
case 2: /* Output OOB */
- if (!(caps->output_action & (1 << start->auth_action)) ||
- start->auth_size == 0)
+ if (!(L_BE16_TO_CPU(caps->output_action) &
+ (1 << start->auth_action)) ||
+ start->auth_size == 0)
return false;
break;
case 3: /* Input OOB */
- if (!(caps->input_action & (1 << start->auth_action)) ||
- start->auth_size == 0)
+ if (!(L_BE16_TO_CPU(caps->input_action) &
+ (1 << start->auth_action)) ||
+ start->auth_size == 0)
return false;
break;