diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-05-11 18:15:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 15:03:14 -0400 |
commit | 007e5c8e6aad8526e234b2481d2104e3e1fe8b88 (patch) | |
tree | 99ed920821a184f461bd78192aab6f880a6228d1 /drivers | |
parent | 7591157e1848b5db900b34016e2a2182329a93bb (diff) |
usb/net: rndis: remove ambigous status codes
The RNDIS status codes are redefined with much stranged ifdeffery
and only one of these codes was used in the hyperv driver, and
there it is very clearly referring to the RNDIS variant, not some
other status. So clarify this by explictly using the RNDIS_*
prefixed status code in the hyperv drivera and delete the
duplicate defines.
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/hyperv/rndis_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c index d6be64bcefd4..0d1034839d68 100644 --- a/drivers/net/hyperv/rndis_filter.c +++ b/drivers/net/hyperv/rndis_filter.c | |||
@@ -267,11 +267,11 @@ static void rndis_filter_receive_response(struct rndis_device *dev, | |||
267 | REMOTE_NDIS_RESET_CMPLT) { | 267 | REMOTE_NDIS_RESET_CMPLT) { |
268 | /* does not have a request id field */ | 268 | /* does not have a request id field */ |
269 | request->response_msg.msg.reset_complete. | 269 | request->response_msg.msg.reset_complete. |
270 | status = STATUS_BUFFER_OVERFLOW; | 270 | status = RNDIS_STATUS_BUFFER_OVERFLOW; |
271 | } else { | 271 | } else { |
272 | request->response_msg.msg. | 272 | request->response_msg.msg. |
273 | init_complete.status = | 273 | init_complete.status = |
274 | STATUS_BUFFER_OVERFLOW; | 274 | RNDIS_STATUS_BUFFER_OVERFLOW; |
275 | } | 275 | } |
276 | } | 276 | } |
277 | 277 | ||