dahdi-linux/drivers
Shaun Ruffell 7dc4bb92a7 dahdi: Prevent potential error when only switching spantype of single span.
If you have a multiple span system configured for t1 mode, and you try to change
only the first span from t1 to e1 via sysfs, you could get an error in the
kernel log about trying to create duplicate channel.

The problem is that the check for whether there was enough room for the all the
channels of the switched span was wrong.

Reported-by: James Brown <jbrown@digium.com>
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
(cherry picked from commit a3ad32c370)
2013-05-14 15:28:21 -05:00
..
dahdi dahdi: Prevent potential error when only switching spantype of single span. 2013-05-14 15:28:21 -05:00