Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/CmHost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index 2838ffa..e9e0a3c 100644 --- a/drivers/staging/bcm/CmHost.c +++ b/drivers/staging/bcm/CmHost.c @@ -1409,7 +1409,7 @@ static VOID DumpCmControlPacket(PVOID buffer) static inline ULONG RestoreSFParam(struct bcm_mini_adapter *ad, ULONG addr_sf_param_set, PUCHAR dest_buff) { - UINT nBytesToRead = sizeof(struct bcm_connect_mgr_params); + UINT bytes_to_read = sizeof(struct bcm_connect_mgr_params); if (addr_sf_param_set == 0 || NULL == dest_buff) { BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL, @@ -1419,7 +1419,7 @@ static inline ULONG RestoreSFParam(struct bcm_mini_adapter *ad, addr_sf_param_set = ntohl(addr_sf_param_set); /* Read out the SF Param Set At the indicated Location */ - if (rdm(ad, addr_sf_param_set, (PUCHAR)dest_buff, nBytesToRead) < 0) + if (rdm(ad, addr_sf_param_set, (PUCHAR)dest_buff, bytes_to_read) < 0) return STATUS_FAILURE; return 1; -- 2.1.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel