diff options
author | Inaky Perez-Gonzalez <inaky.perez-gonzalez> | 2008-12-05 10:36:28 -0800 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2008-12-05 10:36:28 -0800 |
commit | 3740ecc83b38a2395c4d107f2b842976a1edb7a4 (patch) | |
tree | c15780b5807a8bd92d5bf73fa0040395cecbff6d /lib/wimax.c | |
parent | ba2e1289654bfebf55e405578b2450a69fd7b2ad (diff) |
libwimaxll: add debug traces to a few functions
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'lib/wimax.c')
-rw-r--r-- | lib/wimax.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/wimax.c b/lib/wimax.c index 0f337fb..5af4126 100644 --- a/lib/wimax.c +++ b/lib/wimax.c @@ -101,7 +101,6 @@ int wimaxll_gnl_error_cb(struct sockaddr_nl *nla, struct nlmsgerr *nlerr, * * Frontend to this is wimaxll_wait_for_ack() */ -static int wimaxll_gnl_ack_cb(struct nl_msg *msg, void *_mch) { int result; @@ -110,6 +109,7 @@ int wimaxll_gnl_ack_cb(struct nl_msg *msg, void *_mch) size_t size = nlmsg_len(nlmsg_hdr(msg)); struct wimaxll_mc_handle *mch = _mch; + d_fnstart(7, NULL, "(msg %p mch %p)\n", msg, _mch); nl_hdr = nlmsg_hdr(msg); size = nlmsg_len(nl_hdr); nl_err = nlmsg_data(nl_hdr); @@ -142,6 +142,7 @@ int wimaxll_gnl_ack_cb(struct nl_msg *msg, void *_mch) nl_err->error); error_ack_short: error_bad_type: + d_fnend(7, NULL, "(msg %p mch %p) = NL_STOP\n", msg, _mch); return NL_STOP; } |