Search Linux Wireless

Re: [PATCH] mac80211: station state transition error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2012-01-04 at 13:00 +0200, Eliad Peller wrote:

> > +       if (err) {
> > +               printk(KERN_DEBUG
> > +                      "%s: failed to move station %pM to desired state\n",
> > +                      sdata->name, sta->sta.addr);
> > +               sta_info_destroy_addr(sdata, sta->sta.addr);
> > +               mutex_unlock(&sdata->local->sta_mtx);
> > +               return false;
> > +       }
> >
> sta_info_destroy_addr takes the mutex by itself, so i guess you should
> either release it before or call __sta_info_destroy directly?

Ouch, thanks. I guess the latter makes more sense, will send a v2.

johannes

--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux