gianfar: correct filer table writing
authorJakub Kicinski <kubakici@wp.pl>
Wed, 12 Aug 2015 00:41:55 +0000 (02:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2015 21:47:05 +0000 (14:47 -0700)
commita898fe040f62a32b90e26dc1f1b5973608054b29
treefad2943f4ea6c8d2d5fa72a0b4597308ed4dad73
parentb02e3e948de6c11fded1821d89012e24d953da12
gianfar: correct filer table writing

MAX_FILER_IDX is the last usable index.  Using less-than
will already guarantee that one entry for catch-all rule
will be left, no need to subtract 1 here.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar_ethtool.c