diff --git a/[refs] b/[refs] index e804f5b93470..130df7b267c8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3d63a492d1571b9e8f2404805b6441d2b16d06ca +refs/heads/master: 19ebeff1eb8e62f1c6f5b85e987aa67aab050deb diff --git a/trunk/drivers/staging/otus/hal/hpmain.c b/trunk/drivers/staging/otus/hal/hpmain.c index 5f412e020457..6d2d358d5ca9 100644 --- a/trunk/drivers/staging/otus/hal/hpmain.c +++ b/trunk/drivers/staging/otus/hal/hpmain.c @@ -430,7 +430,7 @@ void zfInitPhy(zdev_t* dev, u32_t frequency, u8_t bw40) * Register setting by mode */ - entries = sizeof(ar5416Modes) / sizeof(*ar5416Modes); + entries = ARRAY_SIZE(ar5416Modes); zm_msg1_scan(ZM_LV_2, "Modes register setting entries=", entries); for (i=0; i