diff options
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 7ddd20d85569..6f9396620a65 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -2430,7 +2430,7 @@ static void Handle_SetMulticastFilter(struct wilc_vif *vif, *cur_byte++ = ((hif_set_mc->cnt >> 16) & 0xFF); *cur_byte++ = ((hif_set_mc->cnt >> 24) & 0xFF); - if ((hif_set_mc->cnt) > 0) + if (hif_set_mc->cnt > 0) memcpy(cur_byte, wilc_multicast_mac_addr_list, ((hif_set_mc->cnt) * ETH_ALEN)); |