Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/CmHost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index 989495d..c93a244 100644 --- a/drivers/staging/bcm/CmHost.c +++ b/drivers/staging/bcm/CmHost.c @@ -2153,15 +2153,15 @@ static void restore_endianess_of_classifier_entry( { int i; union u_ip_address *src = &classifier_entry->stSrcIpAddress; - union u_ip_address *stDest = &classifier_entry->stDestIpAddress; + union u_ip_address *dest = &classifier_entry->stDestIpAddress; for (i = 0; i < MAX_IP_RANGE_LENGTH * 4; i++) { if (ip_addr_context == eSrcIpAddress) { src->ulIpv6Addr[i] = ntohl(src->ulIpv6Addr[i]); src->ulIpv6Mask[i] = ntohl(src->ulIpv6Mask[i]); } else if (ip_addr_context == eDestIpAddress) { - stDest->ulIpv6Addr[i] = ntohl(stDest->ulIpv6Addr[i]); - stDest->ulIpv6Mask[i] = ntohl(stDest->ulIpv6Mask[i]); + dest->ulIpv6Addr[i] = ntohl(dest->ulIpv6Addr[i]); + dest->ulIpv6Mask[i] = ntohl(dest->ulIpv6Mask[i]); } } } -- 2.1.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel