diff --git a/android/pan.c b/android/pan.c
index 6131890..3ff8389 100644
--- a/android/pan.c
+++ b/android/pan.c
#define BNEP_PANU_INTERFACE "bt-pan"
#define BNEP_NAP_INTERFACE "bt-pan%d"
-static bdaddr_t adapter_addr;
-static GSList *devices = NULL;
-static uint8_t local_role = HAL_PAN_ROLE_NONE;
-static struct ipc *hal_ipc = NULL;
-
struct pan_device {
char iface[16];
bdaddr_t dst;
guint watch;
};
+static bdaddr_t adapter_addr;
+static GSList *devices = NULL;
+static uint8_t local_role = HAL_PAN_ROLE_NONE;
+static struct ipc *hal_ipc = NULL;
+
static struct {
uint32_t record_id;
GIOChannel *io;
return FALSE;
}
+
static gboolean nap_setup_cb(GIOChannel *chan, GIOCondition cond,
gpointer user_data)
{
/* Highest known control command id BNEP_FILTER_MULT_ADDR_RSP 0x06 */
if (req->type == BNEP_CONTROL &&
- req->ctrl > BNEP_FILTER_MULT_ADDR_RSP) {
+ req->ctrl > BNEP_FILTER_MULT_ADDR_RSP) {
error("cmd not understood");
bnep_send_ctrl_rsp(sk, BNEP_CONTROL, BNEP_CMD_NOT_UNDERSTOOD,
req->ctrl);