]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/vt6655/mib.c
Staging: vt6655: use ETH_ALEN macro instead of custom one
[~andy/linux] / drivers / staging / vt6655 / mib.c
index fb11595c82cbc7ffb1b6f9b2598b658bcb271674..e5f06382e4f868afd84b2818ddffc70190458e7e 100644 (file)
@@ -190,7 +190,7 @@ void STAvUpdateRDStatCounter (PSStatCounter pStatistic,
 
         pStatistic->ullRsrOK++;
 
-        if (cbFrameLength >= U_ETHER_ADDR_LEN) {
+        if (cbFrameLength >= ETH_ALEN) {
             // update counters in case that successful transmit
             if (byRSR & RSR_ADDRBROAD) {
                 pStatistic->ullRxBroadcastFrames++;