On Thu, 2011-08-25 at 19:04 +0300, Eliad Peller wrote: > diff --git a/drivers/net/wireless/wl12xx/acx.c b/drivers/net/wireless/wl12xx/acx.c > index f2838ae..a325dba 100644 > --- a/drivers/net/wireless/wl12xx/acx.c > +++ b/drivers/net/wireless/wl12xx/acx.c > @@ -1687,3 +1687,43 @@ out: > kfree(acx); > return ret; > } > + > +int wl12xx_acx_config_hangover(struct wl1271 *wl) > +{ > + struct wl12xx_acx_config_hangover *acx; > + struct conf_hangover_settings *conf = &wl->conf.hangover; > + int ret; > + > + wl1271_debug(DEBUG_ACX, "acx config hangover"); > + > + acx = kzalloc(sizeof(*acx), GFP_KERNEL); > + if (!acx) { > + ret = -ENOMEM; > + goto out; > + } > + > + acx->recover_time = cpu_to_le32(conf->recover_time); > + acx->hangover_period = conf->hangover_period; > + acx->dynamic_mode = conf->dynamic_mode; > + acx->early_termination_mode = conf->early_termination_mode; > + acx->max_period = conf->max_period; > + acx->min_period = conf->min_period; > + acx->increase_delta = conf->increase_delta; > + acx->decrease_delta = conf->decrease_delta; > + acx->quiet_time = conf->quiet_time; > + acx->increase_delta = conf->increase_time; Typo, this should be acx->increase_time. -- Cheers, Luca. -- 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