diff options
Diffstat (limited to 'drivers/uwb/neh.c')
-rw-r--r-- | drivers/uwb/neh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/uwb/neh.c b/drivers/uwb/neh.c index 0af8916d9bef..697e56a5bcdd 100644 --- a/drivers/uwb/neh.c +++ b/drivers/uwb/neh.c | |||
@@ -83,6 +83,7 @@ | |||
83 | */ | 83 | */ |
84 | #include <linux/kernel.h> | 84 | #include <linux/kernel.h> |
85 | #include <linux/timer.h> | 85 | #include <linux/timer.h> |
86 | #include <linux/slab.h> | ||
86 | #include <linux/err.h> | 87 | #include <linux/err.h> |
87 | 88 | ||
88 | #include "uwb-internal.h" | 89 | #include "uwb-internal.h" |
@@ -150,7 +151,7 @@ void uwb_rc_neh_put(struct uwb_rc_neh *neh) | |||
150 | * 0xff is invalid, so they must not be used. Initialization | 151 | * 0xff is invalid, so they must not be used. Initialization |
151 | * fills up those two in the bitmap so they are not allocated. | 152 | * fills up those two in the bitmap so they are not allocated. |
152 | * | 153 | * |
153 | * We spread the allocation around to reduce the posiblity of two | 154 | * We spread the allocation around to reduce the possibility of two |
154 | * consecutive opened @neh's getting the same context ID assigned (to | 155 | * consecutive opened @neh's getting the same context ID assigned (to |
155 | * avoid surprises with late events that timed out long time ago). So | 156 | * avoid surprises with late events that timed out long time ago). So |
156 | * first we search from where @rc->ctx_roll is, if not found, we | 157 | * first we search from where @rc->ctx_roll is, if not found, we |