|
@@ -94,12 +94,12 @@ int rtlx_open(int index, int can_sleep)
|
|
int ret = 0;
|
|
int ret = 0;
|
|
|
|
|
|
if (index >= RTLX_CHANNELS) {
|
|
if (index >= RTLX_CHANNELS) {
|
|
- pr_debug(KERN_DEBUG "rtlx_open index out of range\n");
|
|
|
|
|
|
+ pr_debug("rtlx_open index out of range\n");
|
|
return -ENOSYS;
|
|
return -ENOSYS;
|
|
}
|
|
}
|
|
|
|
|
|
if (atomic_inc_return(&channel_wqs[index].in_open) > 1) {
|
|
if (atomic_inc_return(&channel_wqs[index].in_open) > 1) {
|
|
- pr_debug(KERN_DEBUG "rtlx_open channel %d already opened\n", index);
|
|
|
|
|
|
+ pr_debug("rtlx_open channel %d already opened\n", index);
|
|
ret = -EBUSY;
|
|
ret = -EBUSY;
|
|
goto out_fail;
|
|
goto out_fail;
|
|
}
|
|
}
|