diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2012-06-26 20:07:21 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-06-28 20:40:56 +0200 |
commit | 8b9468d496abd357cc797b27a79d4402f5e0e94d (patch) | |
tree | 31e7d3ebbaf94183dc442cbc1628831d2b5cdc40 /drivers/net/wireless | |
parent | a089361cf5f1d6a5295aa5385238bd044998e1e9 (diff) |
watchdog: core: fix WDIOC_GETSTATUS return value
In commit 7a87982420e5e126bfefeb42232d1fd92052794e we added
a wrapper for the WDIOC_GETSTATUS ioctl call. The code results
however in a different behaviour: it returns an error if the
driver doesn't support the status operation. This is not
according to the API that says that when we don't support
the status operation, that we just should return a 0 value.
Only when the device isn't there anymore, we should return an
error.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions