diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-03-02 19:52:40 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-06 04:11:43 -0800 |
commit | 05141a62bb1bde177e36f7d54ce2fc34d4e50ffa (patch) | |
tree | 65b287025a509120303aa2dec859a3337a23fd07 /drivers/staging/wilc1000 | |
parent | 2f90a5da7c7400472fbf201be4a9971599ff6d11 (diff) |
staging: wilc1000: fix line over 80 char in wilc_network_info_received()
Fix 'line over 80 character' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index cabee475cf24..a44ddb25143b 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -3482,7 +3482,10 @@ void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) struct host_if_drv *hif_drv = NULL; struct wilc_vif *vif; - id = ((buffer[length - 4]) | (buffer[length - 3] << 8) | (buffer[length - 2] << 16) | (buffer[length - 1] << 24)); + id = buffer[length - 4]; + id |= (buffer[length - 3] << 8); + id |= (buffer[length - 2] << 16); + id |= (buffer[length - 1] << 24); vif = wilc_get_vif_from_idx(wilc, id); if (!vif) return; |