aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng
diff options
context:
space:
mode:
authorTim Collier <osdevtc@gmail.com>2018-07-25 20:30:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-29 10:08:02 +0200
commitd47b10e6f90de6f0275eb3c9ffbc68c5534af9e4 (patch)
tree468fec38800205102dc68d0786b83101f79901da /drivers/staging/wlan-ng
parentstaging: wlan-ng: remove volatile from reapable field in hfa384x_usbctlx (diff)
downloadlinux-dev-d47b10e6f90de6f0275eb3c9ffbc68c5534af9e4.tar.xz
linux-dev-d47b10e6f90de6f0275eb3c9ffbc68c5534af9e4.zip
staging: wlan-ng: correction to comment in hfa384x_usb
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>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r--drivers/staging/wlan-ng/hfa384x_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index 33e97ffbb436..16f7dd266e3b 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -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