On Thu, Feb 23, 2012 at 9:21 PM, Javier Cardona <javier@xxxxxxxxxxx> wrote: > The logic and the order are wrong. This needs to be: > > + if (sdata->u.mgd.associated && > + if (sdata->vif.type == NL80211_IFTYPE_STATION && > sdata->u.mgd.associated && Sorry, I meant - if (sdata->u.mgd.associated && + if (sdata->vif.type == NL80211_IFTYPE_STATION && + sdata->u.mgd.associated && -- Javier Cardona cozybit Inc. http://www.cozybit.com -- 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