staging: wlan-ng: correction to comment in hfa384x_usb
authorTim Collier <osdevtc@gmail.com>
Wed, 25 Jul 2018 19:30:32 +0000 (20:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2018 08:08:02 +0000 (10:08 +0200)
The comment for hfa384x_docmd incorrectly states that usercb_data
should be NULL for DOASYNC calls; in fact, it should be NULL for
DOWAIT calls (this is consistent with the other similar functions and
the rest of the comment text).

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c

index 33e97ff..16f7dd2 100644 (file)
@@ -1290,7 +1290,7 @@ cleanup:
  *     cmdcb           command-specific callback
  *     usercb          user callback for async calls, NULL for DOWAIT calls
  *     usercb_data     user supplied data pointer for async calls, NULL
- *                     for DOASYNC calls
+ *                     for DOWAIT calls
  *
  * Returns:
  *     0               success