summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/scripts')
-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") {