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 328ba4d..67b770d 100644 --- a/drivers/staging/bcm/CmHost.c +++ b/drivers/staging/bcm/CmHost.c @@ -1428,13 +1428,13 @@ static inline ULONG RestoreSFParam(struct bcm_mini_adapter *ad, static ULONG StoreSFParam(struct bcm_mini_adapter *ad, PUCHAR src_buff, ULONG addr_sf_param_set) { - UINT nBytesToWrite = sizeof(struct bcm_connect_mgr_params); + UINT bytes_to_write = sizeof(struct bcm_connect_mgr_params); int ret = 0; if (addr_sf_param_set == 0 || NULL == src_buff) return 0; - ret = wrm(ad, addr_sf_param_set, (u8 *)src_buff, nBytesToWrite); + ret = wrm(ad, addr_sf_param_set, (u8 *)src_buff, bytes_to_write); if (ret < 0) { BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL, "%s:%d WRM failed", __func__, __LINE__); -- 2.1.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel