drivers/net: Convert compare_ether_addr to ether_addr_equal
[deliverable/linux.git] / drivers / net / ethernet / toshiba / ps3_gelic_wireless.c
index 5c14f82c49549ca2089c5b2d3af1a84519a2bf4c..961c8321451f5551e85847076dcdfb845c51342a 100644 (file)
@@ -1590,8 +1590,8 @@ static void gelic_wl_scan_complete_event(struct gelic_wl_info *wl)
                found = 0;
                oldest = NULL;
                list_for_each_entry(target, &wl->network_list, list) {
-                       if (!compare_ether_addr(&target->hwinfo->bssid[2],
-                                               &scan_info->bssid[2])) {
+                       if (ether_addr_equal(&target->hwinfo->bssid[2],
+                                            &scan_info->bssid[2])) {
                                found = 1;
                                pr_debug("%s: same BBS found scanned list\n",
                                         __func__);
@@ -1691,8 +1691,8 @@ struct gelic_wl_scan_info *gelic_wl_find_best_bss(struct gelic_wl_info *wl)
 
                /* If bss specified, check it only */
                if (test_bit(GELIC_WL_STAT_BSSID_SET, &wl->stat)) {
-                       if (!compare_ether_addr(&scan_info->hwinfo->bssid[2],
-                                               wl->bssid)) {
+                       if (ether_addr_equal(&scan_info->hwinfo->bssid[2],
+                                            wl->bssid)) {
                                best_bss = scan_info;
                                pr_debug("%s: bssid matched\n", __func__);
                                break;
This page took 0.056464 seconds and 5 git commands to generate.