[PATCH] s390: minor qeth network driver fixes
authorFrank Pavlic <fpavlic@de.ibm.com>
Tue, 13 Dec 2005 07:22:30 +0000 (08:22 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 24 Dec 2005 15:05:51 +0000 (10:05 -0500)
commit4965e97fd36041d19483843c66286b9800a57c15
treedc9161dea86858ab7a07a7e82bffe5ee4214125c
parent6c6b3e7c4f93d330b920e6531b579b1f6bae5ac1
[PATCH] s390: minor qeth network driver fixes

[patch 2/3] s390: minor qeth network driver fixes

From: Frank Pavlic <pavlic@de.ibm.com>
- use netif_carrier_on/off calls to tell network stack
  link carrier state
- fix possible kfree on NULL
- PDU_LEN2 is at offset 0x29 otherwise OSN chpid won't initialize

Signed-off-by: Frank Pavlic <pavlic@de.ibm.com>
diffstat:
 qeth_eddp.c |    3 ++-
 qeth_main.c |   17 +++++++----------
 qeth_mpc.h  |    2 +-
 3 files changed, 10 insertions(+), 12 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/s390/net/qeth_eddp.c
drivers/s390/net/qeth_main.c
drivers/s390/net/qeth_mpc.h