aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorKarl Hiramoto <karl@hiramoto.org>2010-07-08 16:55:35 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-09 03:09:23 -0400
commite0b901a9532bdbbe56f37e61bdcc96ee05ab94b7 (patch)
tree93fdef35b4a9dcbb28b4a80cb2be29fd6090a0aa /drivers/atm
parent49d49106fc6cbb48c832aa58e3e6cee8b49d5e8f (diff)
atm/suni.c: call atm_dev_signal_change() when signal changes.
Propagate changes to upper atm layer. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/suni.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/atm/suni.c b/drivers/atm/suni.c
index da4b91ffa53..41c56eae4c8 100644
--- a/drivers/atm/suni.c
+++ b/drivers/atm/suni.c
@@ -291,8 +291,9 @@ static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg)
291 291
292static void poll_los(struct atm_dev *dev) 292static void poll_los(struct atm_dev *dev)
293{ 293{
294 dev->signal = GET(RSOP_SIS) & SUNI_RSOP_SIS_LOSV ? ATM_PHY_SIG_LOST : 294 atm_dev_signal_change(dev,
295 ATM_PHY_SIG_FOUND; 295 GET(RSOP_SIS) & SUNI_RSOP_SIS_LOSV ?
296 ATM_PHY_SIG_LOST : ATM_PHY_SIG_FOUND);
296} 297}
297 298
298 299