staging: r8188eu: use mac_pton() in rtw_macaddr_cfg()
authorMichael Straube <straube.linux@gmail.com>
Mon, 30 Aug 2021 12:15:01 +0000 (14:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:45 +0000 (08:49 +0200)
commit287beb44afd12665c387f2d1a3b1f5dbfdf0b1b9
treea6e255bc74d7a5f198449b72b35d0c6db27b7427
parent55110bb5248fe8891f14ffc31c0f13e0e39adc7b
staging: r8188eu: use mac_pton() in rtw_macaddr_cfg()

Instead of a custom approach use mac_pton() to convert the mac
address string. With mac_pton() the driver also validates the
input now.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210830121508.6411-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_ieee80211.c