diff options
author | Dan Carpenter | 2011-11-04 09:21:38 +0100 |
---|---|---|
committer | David S. Miller | 2011-11-04 23:37:23 +0100 |
commit | 589665f5a6008dbce1d0af2cb93e94a80bf78151 (patch) | |
tree | 4f4ec1949dd233a8474c2cb477da3637166b6e75 /net/mac80211/ibss.c | |
parent | sky2: fix regression on Yukon Optima (diff) | |
download | kernel-qcow2-linux-589665f5a6008dbce1d0af2cb93e94a80bf78151.tar.gz kernel-qcow2-linux-589665f5a6008dbce1d0af2cb93e94a80bf78151.tar.xz kernel-qcow2-linux-589665f5a6008dbce1d0af2cb93e94a80bf78151.zip |
bonding: comparing a u8 with -1 is always false
slave->duplex is a u8 type so the in bond_info_show_slave() when we
check "if (slave->duplex == -1)", it's always false.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions