Add Debug output

This commit is contained in:
PolynomialDivision 2017-08-26 11:18:03 +02:00
parent f5af978118
commit bdca973362

View file

@ -211,6 +211,9 @@ int parse_to_probe_req(struct blob_attr *msg, probe_entry *prob_req) {
}
static int handle_auth_req(struct blob_attr *msg) {
printf("HANDLE AUTH!\n");
auth_entry auth_req;
parse_to_auth_req(msg, &auth_req);
@ -226,6 +229,9 @@ static int handle_auth_req(struct blob_attr *msg) {
return UBUS_STATUS_CONNECTION_FAILED;
}
printf("ALLOW AUTH!\n");
return 0;
}