staging: wilc1000: Avoid excessive indentation
PATCH v2 1/1 staging: wilc1000: Avoid excessive indentation
Modified if/else segment to avoid excessive indendation.
Signed-off-by Tamara Diaconita <[email protected]>
---
Changes since v1:
*Add space before '{'.
*Add braces to else segment.
drivers/staging/wilc1000/linux_wlan.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/linux_wlan.c +5 -6
@@ -866,14 +866,13 @@ static int wilc_mac_open(struct net_device *ndev)wilc_set_wfi_drv_handler (vif,wilc_get_vif_idx (vif), wl->open_ifcs); - }else { -if (memcmp (wl->vif[i ^1 ]->bssid, - wl->vif[i ^1 ]->src_addr,6 )) -wilc_set_wfi_drv_handler (vif, + }else if (memcmp (wl->vif[i ^1 ]->bssid, + wl->vif[i ^1 ]->src_addr,6 )) { +wilc_set_wfi_drv_handler (vif,wilc_get_vif_idx (vif),0 ); -else -wilc_set_wfi_drv_handler (vif, + }else { +wilc_set_wfi_drv_handler (vif,wilc_get_vif_idx (vif),1 ); }
Signature · 1 line
2.9.3