diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2008-12-12 02:17:56 -0800 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2008-12-12 02:39:39 -0800 |
commit | 7462577aa13a8dffd3c97c56c17d4ffb1d2fca8b (patch) | |
tree | 5c8cb13b036a006cc477cb020a1159983a2e523d /lib/re-state-change.c | |
parent | 62014a51da02bea5f22f89373463366cb20f6341 (diff) |
libwimaxll: rename wimaxll_gnl_cb_context to wimaxll_cb_ctx
The type is used for more than just generic netlink callbacks and it
was way too long.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'lib/re-state-change.c')
-rw-r--r-- | lib/re-state-change.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/re-state-change.c b/lib/re-state-change.c index 369e713..ae2a08d 100644 --- a/lib/re-state-change.c +++ b/lib/re-state-change.c @@ -190,7 +190,7 @@ error_parse: * wimaxll_wait_for_state_change() */ struct wimaxll_state_change_context { - struct wimaxll_gnl_cb_context ctx; + struct wimaxll_cb_ctx ctx; enum wimax_st *old_state, *new_state; int set:1; }; @@ -238,7 +238,7 @@ static int wimaxll_cb_state_change(struct wimaxll_handle *wmx, void *_ctx, enum wimax_st old_state, enum wimax_st new_state) { - struct wimaxll_gnl_cb_context *ctx = _ctx; + struct wimaxll_cb_ctx *ctx = _ctx; struct wimaxll_state_change_context *stch_ctx = wimaxll_container_of(ctx, struct wimaxll_state_change_context, ctx); @@ -285,7 +285,7 @@ ssize_t wimaxll_wait_for_state_change(struct wimaxll_handle *wmx, wimaxll_state_change_cb_f prev_cb = NULL; void *prev_priv = NULL; struct wimaxll_state_change_context ctx = { - .ctx = WIMAXLL_GNL_CB_CONTEXT_INIT(wmx), + .ctx = WIMAXLL_CB_CTX_INIT(wmx), .old_state = old_state, .new_state = new_state, .set = 0, |