diff options
author | Daniel Pieczko <dpieczko@solarflare.com> | 2015-07-31 11:14:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-31 15:32:05 -0700 |
commit | 273248202013aa9d6d1bb2c1c4e4034a2813453f (patch) | |
tree | 32c53a8432811ec0173693349e15103272440f9b /drivers/net/wireless/rt2x00/rt2x00link.c | |
parent | bee8259dd31f419a883174556b11edc6f9a153d1 (diff) |
sfc: allow ethtool selftest and MC reboot to complete on an unprivileged function
The policy in the net driver is to attempt MCDI commands and
then handle any EPERM error codes appropriately when returned
by unprivileged functions.
The ethtool selftest contains some tests which are useful on
an unprivileged function, such as the event queue interrupt
tests, but other tests cannot be performed as the function
does not have the required permissions.
If a test returns -EPERM, act as though the test was not run
and continue.
Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00link.c')
0 files changed, 0 insertions, 0 deletions