Re: [PATCH] cfg80211: fix initialisation if built-in

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Magnus Damm <magnus.damm@...>
Cc: Johannes Berg <johannes@...>, John W. Linville <linville@...>, linux-wireless <linux-wireless@...>, netdev <netdev@...>, <stable@...>
Date: Monday, September 10, 2007 - 9:18 pm

On 9/10/07, Magnus Damm <magnus.damm@gmail.com> wrote:

Same problem here, except with the rt2x00 driver. I changed it to
subsys_initcall(rate_control_simple_init), which also worked. I also
found that without this change, it was failing at this point in
ieee80211_rate.c:

ieee80211_try_rate_control_ops_get(const char *name)
{
        struct rate_control_alg *alg;
        struct rate_control_ops *ops = NULL;

        mutex_lock(&rate_ctrl_mutex);
        list_for_each_entry(alg, &rate_ctrl_algs, list) {   <===== Here
                if (!name || !strcmp(alg->ops->name, name))
                        if (try_module_get(alg->ops->module)) {
                                ops = alg->ops;
                                break;
                        }
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] cfg80211: fix initialisation if built-in, Magnus Damm, (Mon Sep 10, 9:04 pm)
Re: [PATCH] cfg80211: fix initialisation if built-in, Johannes Berg, (Tue Sep 11, 6:24 am)
Re: [PATCH] cfg80211: fix initialisation if built-in, Rob Hussey, (Mon Sep 10, 9:18 pm)