Bluetooth: Convert inquiry cache to use debugfs instead of sysfs
[pandora-kernel.git] / net / rxrpc / ar-connevent.c
index dc5cb1e..0505cdc 100644 (file)
@@ -150,11 +150,15 @@ static int rxrpc_process_event(struct rxrpc_connection *conn,
        u32 serial;
        int loop, ret;
 
-       if (conn->state >= RXRPC_CONN_REMOTELY_ABORTED)
+       if (conn->state >= RXRPC_CONN_REMOTELY_ABORTED) {
+               kleave(" = -ECONNABORTED [%u]", conn->state);
                return -ECONNABORTED;
+       }
 
        serial = ntohl(sp->hdr.serial);
 
+       _enter("{%d},{%u,%%%u},", conn->debug_id, sp->hdr.type, serial);
+
        switch (sp->hdr.type) {
        case RXRPC_PACKET_TYPE_ABORT:
                if (skb_copy_bits(skb, 0, &tmp, sizeof(tmp)) < 0)
@@ -199,6 +203,7 @@ static int rxrpc_process_event(struct rxrpc_connection *conn,
                return 0;
 
        default:
+               _leave(" = -EPROTO [%u]", sp->hdr.type);
                return -EPROTO;
        }
 }