]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: rtl8188eu: re-use mac_pton() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Jul 2014 03:41:20 +0000 (09:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:07:43 +0000 (21:07 -0700)
commit79374daf9890d47a31da3eca765be50b916cad42
tree5d44fe1a3c1d86c3586e7a95e39dc79c31757929
parent143198fd31f8e7d659d1ae7a59b63c35433dad02
staging: rtl8188eu: re-use mac_pton() helper

The helper mac_pton() validates and converts MAC address from string format to
a number. Originally code uses simple code to do that. With mac_pton() the
driver now validates input as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ieee80211.c
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c