Search Linux Wireless

Re: [PATCH] libertas: Fix ethtool statistics

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

 



* David Woodhouse | 2008-04-20 11:56:32 [+0100]:

>On Sun, 2008-04-20 at 10:41 +0200, Sebastian Siewior wrote:
>> The function before lbs_ethtool_get_stats() (in net code that
>> determinate the number of elements, dunno the name right now) is able to
>> return an error. This one could check if the firmware has mesh support.
>
>That's what my second patch does.
got to check that patch.

>> Do I understand this correct: If the firmware has support for mesh
>> devices than we have ethX and mshX and only mshX should return the
>> statistics?
>
>Well, they are _mesh_ statistics :)
yes, but I have two interfaces or just one?

>Yeah, that might be worthwhile.
>
>> I will try to form a patch around Monday that fixes Dan's comments (if
>> nobody else is going to).
>
>Which comments? If we apply your original patch, followed by my patch in
><1208509888.9212.291.camel@xxxxxxxxxxxxxxxxxx> (which for some reason
>only went to wireless-dev, not libertas-dev), then I think it's fine.
The comments were
- everything what deals with mesh should take the mash lock
- check for mesh support before calling lbs_ethtool_get_stats()

If your second patch deals with these than yes it should be fine.

>dwmw2

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