diff options
Diffstat (limited to 'linux/drivers/media/dvb/b2c2')
-rw-r--r-- | linux/drivers/media/dvb/b2c2/skystar2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/b2c2/skystar2.c b/linux/drivers/media/dvb/b2c2/skystar2.c index 01b1b9d15..1088e4918 100644 --- a/linux/drivers/media/dvb/b2c2/skystar2.c +++ b/linux/drivers/media/dvb/b2c2/skystar2.c @@ -108,7 +108,7 @@ struct adapter { int useable_hw_filters; u16 hw_pids[MAX_N_HW_FILTERS]; u16 pid_list[N_PID_SLOTS]; - u8 pid_rc[N_PID_SLOTS]; // ref counters for the pids + int pid_rc[N_PID_SLOTS]; // ref counters for the pids int pid_count; int whole_bandwidth_count; u32 mac_filter; @@ -1244,6 +1244,7 @@ static int remove_pid(struct adapter *adapter, u16 pid) // remove from the list adapter->pid_count--; adapter->pid_list[i]=adapter->pid_list[adapter->pid_count]; + adapter->pid_rc[i] = adapter->pid_rc[adapter->pid_count]; // hardware setting remove_hw_pid(adapter, pid); } |