diff options
author | Mitchell Blank Jr <mitch@sfgoth.com> | 2005-11-29 19:15:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-29 19:15:18 -0500 |
commit | 50accc9c428273501dd2a6295c84a533dd1fe645 (patch) | |
tree | 54a94b2c84b3a7af78887383b4c828e0a4953fe1 /net/atm/common.c | |
parent | e91a73568b19b4a8145fc6e05314d522ee35a0b1 (diff) |
[ATM]: attempt to autoload atm drivers
From: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/common.c')
-rw-r--r-- | net/atm/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/common.c b/net/atm/common.c index 83454e12317d..db9318fc6031 100644 --- a/net/atm/common.c +++ b/net/atm/common.c | |||
@@ -424,7 +424,7 @@ int vcc_connect(struct socket *sock, int itf, short vpi, int vci) | |||
424 | vcc->qos.rxtp.traffic_class == ATM_ANYCLASS) | 424 | vcc->qos.rxtp.traffic_class == ATM_ANYCLASS) |
425 | return -EINVAL; | 425 | return -EINVAL; |
426 | if (likely(itf != ATM_ITF_ANY)) { | 426 | if (likely(itf != ATM_ITF_ANY)) { |
427 | dev = atm_dev_lookup(itf); | 427 | dev = try_then_request_module(atm_dev_lookup(itf), "atm-device-%d", itf); |
428 | } else { | 428 | } else { |
429 | dev = NULL; | 429 | dev = NULL; |
430 | spin_lock(&atm_dev_lock); | 430 | spin_lock(&atm_dev_lock); |