aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-09-04 04:23:56 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-04 12:22:41 -0700
commita33710bdb6b284f8f1e24f1119d167037b374ebb (patch)
tree8732e6fef20d32540370f51d03d2dbf30eab76cb /net/mac80211/rx.c
parentnet: sched: action_ife: take reference to meta module (diff)
downloadlinux-dev-a33710bdb6b284f8f1e24f1119d167037b374ebb.tar.xz
linux-dev-a33710bdb6b284f8f1e24f1119d167037b374ebb.zip
net: phy: sfp: Handle unimplemented hwmon limits and alarms
Not all SFPs implement the registers containing sensor limits and alarms. Luckily, there is a bit indicating if they are implemented or not. Add checking for this bit, when deciding if the hwmon attributes should be visible. Fixes: 1323061a018a ("net: phy: sfp: Add HWMON support for module sensors") Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rx.c')
0 files changed, 0 insertions, 0 deletions