Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219857
b: refs/heads/master
c: 0ce53f3
h: refs/heads/master
i:
  219855: 0c0e7c8
v: v3
  • Loading branch information
Andy Shevchenko authored and Greg Kroah-Hartman committed Sep 16, 2010
1 parent d126cb1 commit d658d52
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff5cb20b7b3a58122207e14f23f508d2e3b4b25d
refs/heads/master: 0ce53f3d153ca0bbec99e1980a6617f192ef69a9
3 changes: 0 additions & 3 deletions trunk/drivers/staging/rtl8712/osdep_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,6 @@ static inline u32 _RND512(u32 sz)
return val;
}

#define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]
#define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x"

#define STRUCT_PACKED __attribute__ ((packed))

#endif
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1917,8 +1917,7 @@ static int r871x_get_ap_info(struct net_device *dev,
irqL);
return -EINVAL;
}
printk(KERN_INFO "r8712u: BSSID:" MACSTR "\n",
MAC2STR(bssid));
printk(KERN_INFO "r8712u: BSSID:%pM\n", &bssid[0]);
if (!memcmp(bssid, pnetwork->network.MacAddress, ETH_ALEN)) {
/* BSSID match, then check if supporting wpa/wpa2 */
pbuf = r8712_get_wpa_ie(&pnetwork->network.IEs[12],
Expand Down

0 comments on commit d658d52

Please sign in to comment.