summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-08 18:00:33 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-08 18:00:33 -0300
commitcb280e81213d8fd2f87abc3ac2a6a23fd316da5d (patch)
tree6c69f7164ed8690de2f09d2ed2d663c0afa87113 /v4l
parentb6ea0c6a0163c27ae83ae3bda73c6174c69ed25d (diff)
downloadmediapointer-dvb-s2-cb280e81213d8fd2f87abc3ac2a6a23fd316da5d.tar.gz
mediapointer-dvb-s2-cb280e81213d8fd2f87abc3ac2a6a23fd316da5d.tar.bz2
Make reload were not working. fixed.
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rwxr-xr-xv4l/scripts/rmmod.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l/scripts/rmmod.pl b/v4l/scripts/rmmod.pl
index 6cb690217..eb8f02d14 100755
--- a/v4l/scripts/rmmod.pl
+++ b/v4l/scripts/rmmod.pl
@@ -178,7 +178,9 @@ if ($mode eq "load") {
if ($mode eq "reload") {
prepare_cmd;
parse_loaded;
+ my @modlist2=@modlist;
rmmod;
+ @modlist=@modlist2;
insmod(0);
} else {
if ($mode eq "debug") {