commit | 94c84ee61478ff19411fb684d42e3c4f84ae7e88 | [log] [tgz] |
---|---|---|
author | Jonathan Bither <jonbither@gmail.com> | Thu Apr 12 15:44:47 2012 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Apr 16 14:16:59 2012 -0400 |
tree | 62db3806ec196154112c1b46c7ea583d8da4b3ea | |
parent | 462e58f2b6f2f3ca113b44794f2c35ee8e792b93 [diff] |
ath5k: use compare_ether_addr on MAC addresses instead of memcmp Following Felix's recent patchset as an example I have replaced memcmp with compare_ether_addr. "Because of the constant size and guaranteed 16 bit alignment, the inline compare_ether_addr function is much cheaper than calling memcmp." Signed-off-by: Jonathan Bither <jonbither@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>