projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mac80211-next-for-john-2014-11-04' of git://git.kernel.org/pub/scm/linux...
[cascardo/linux.git]
/
drivers
/
net
/
dsa
/
mv88e6171.c
diff --git
a/drivers/net/dsa/mv88e6171.c
b/drivers/net/dsa/mv88e6171.c
index
6365e30
..
1020a7a
100644
(file)
--- a/
drivers/net/dsa/mv88e6171.c
+++ b/
drivers/net/dsa/mv88e6171.c
@@
-206,7
+206,7
@@
static int mv88e6171_setup_port(struct dsa_switch *ds, int p)
*/
val = 0x0433;
if (dsa_is_cpu_port(ds, p)) {
- if (ds->dst->tag_protocol ==
htons(ETH_P_EDSA)
)
+ if (ds->dst->tag_protocol ==
DSA_TAG_PROTO_EDSA
)
val |= 0x3300;
else
val |= 0x0100;