lib8390: Use netif_msg_init to initialize msg_enable bits
authorArmin Wolf <W_Armin@gmx.de>
Wed, 30 Sep 2020 20:44:56 +0000 (22:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 02:08:46 +0000 (19:08 -0700)
commit360f89874635b08057757376b8cc4faa221862e2
tree7b4cde8cde81fd2c4dd27a0ded645432bb8f2a7b
parent7a333af6b1a78955d0bf363e9eb1c722f48227b6
lib8390: Use netif_msg_init to initialize msg_enable bits

Use netif_msg_init() to process param settings
and use only the proper initialized value of
ei_local->msg_level for later processing;

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/8390/lib8390.c