diff options
author | David Kilroy <kilroyd@googlemail.com> | 2011-10-09 12:11:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-17 15:22:36 -0700 |
commit | 1ca616711c830681faa04d5bbdaccc290a910110 (patch) | |
tree | cd21e0a9ce4bbdf57bd228da17bfcf01e58d89e4 /drivers/staging/wlags49_h2/wl_internal.h | |
parent | 8122fa341d36ecacd2bc9e1b0f62594f8130b5ad (diff) | |
download | op-kernel-dev-1ca616711c830681faa04d5bbdaccc290a910110.zip op-kernel-dev-1ca616711c830681faa04d5bbdaccc290a910110.tar.gz |
staging: wlags49_h2: Handle sysfs_create_group return correctly
The function returns 0 on success and non-zero on error. So
correctly record the status so it is freed appropriately.
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlags49_h2/wl_internal.h')
-rw-r--r-- | drivers/staging/wlags49_h2/wl_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlags49_h2/wl_internal.h b/drivers/staging/wlags49_h2/wl_internal.h index 6351bb8..9ed2857 100644 --- a/drivers/staging/wlags49_h2/wl_internal.h +++ b/drivers/staging/wlags49_h2/wl_internal.h @@ -883,7 +883,7 @@ struct wl_private int is_registered; int is_handling_int; int firmware_present; - char sysfsCreated; + bool sysfsCreated; CFG_DRV_INFO_STRCT driverInfo; CFG_IDENTITY_STRCT driverIdentity; CFG_FW_IDENTITY_STRCT StationIdentity; |