diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2006-08-02 04:54:14 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2006-08-02 04:54:14 +0000 |
| commit | 7cb3a39dc0aed01f49d44ca0b0ecea47287f6a08 (patch) | |
| tree | f06ccaef79ed596a782434a761fedcc099f548d0 /sys/dev/ral | |
| parent | 3ab4f00990c54203fc63432fba4a2322e56c90b7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ral')
| -rw-r--r-- | sys/dev/ral/rt2560.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ral/rt2560.c b/sys/dev/ral/rt2560.c index f4266ffc4663..ffa8356264b1 100644 --- a/sys/dev/ral/rt2560.c +++ b/sys/dev/ral/rt2560.c @@ -2842,8 +2842,7 @@ rt2560_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, return 0; bad: ifp->if_oerrors++; - if (ni != NULL) - ieee80211_free_node(ni); + ieee80211_free_node(ni); RAL_UNLOCK(sc); return EIO; /* XXX */ } |
