FYI: For Linux-2.6.30-rc1 vanilla kernel users In the meantime Andreas Schwab's Patch is applied into Rusty Russell's "linux-2.6-module-and-param.git" GIT-branch (see [0], [1] and [2]): "module: fix try_then_request_module" Impact: fix wireless modules, broken by acae05156551fd7528fbb616271e672789388e3c Fix try_then_request_module to use waiting __request_module again. Hope this patch will be applied to Linus GIT-tree soon. -- Sedat [0] http://marc.info/?l=linux-kernel&m=123924185913668&w=2 [1] module: fix try_then_request_module Patch http://git.kernel.org/?p=linux/kernel/git/rusty/linux-2.6-module-and-param.git;a=commit;h=8188c26f4bdd6ea8ae9f018e24ee8609394020f4 [2] Browesable GIT-branch: http://git.kernel.org/?p=linux/kernel/git/rusty/linux-2.6-module-and-param.git;a=summary On Wed, Apr 8, 2009 at 11:18 PM, Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote: > > If you are having problems with wireless networking using 2.6.30-rc1 from > Linus's Linux-2.6 git tree, the fix is the following (Note: This is _NOT_ needed > for wireless-testing!!!): > > --- > Fix try_then_request_module to use waiting __request_module again. > > Signed-off-by: Andreas Schwab <schwab@xxxxxxxxxxxxxx> > --- > include/linux/kmod.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6.30-rc1/include/linux/kmod.h > =================================================================== > --- linux-2.6.30-rc1.orig/include/linux/kmod.h 2009-04-08 12:47:54.000000000 +0200 > +++ linux-2.6.30-rc1/include/linux/kmod.h 2009-04-08 17:39:35.000000000 +0200 > @@ -34,7 +34,7 @@ extern int __request_module(bool wait, c > #define request_module(mod...) __request_module(true, mod) > #define request_module_nowait(mod...) __request_module(false, mod) > #define try_then_request_module(x, mod...) \ > - ((x) ?: (__request_module(false, mod), (x))) > + ((x) ?: (__request_module(true, mod), (x))) > #else > static inline int request_module(const char *name, ...) { return -ENOSYS; } > static inline int request_module_nowait(const char *name, ...) { return -ENOSYS; } > > -- > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html