kernel: fix bugs added with mac-address-ascii support