Skip to contentSkip to conversation

ethtool stats for wifi devices broken in 3.7.0-rc8

DISCUSSION Ben Greear 2 participants 2 messages Dec 5, 2012 – Dec 6, 2012

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

I think the problem is that the code that assigns dev->ethtool_ops in net/wireless/core.c checks for existence of ops first..

But, net/core/dev.c assigns a default ethtool_ops in the alloc_netdev_mqs method.

Maybe cfg80211 should just always assign the value?

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#1 lore raw
Quoted 7 lines · Ben Greear

I think the problem is that the code that assigns dev->ethtool_ops in net/wireless/core.c checks for existence of ops first..

But, net/core/dev.c assigns a default ethtool_ops in the alloc_netdev_mqs method.

Maybe cfg80211 should just always assign the value?

Care to post a patch ?

Stanislaw