diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/pcmcia/ipwireless/main.c | 4 | ||||
-rw-r--r-- | drivers/char/pcmcia/ipwireless/network.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/drivers/char/pcmcia/ipwireless/main.c b/drivers/char/pcmcia/ipwireless/main.c index 7169a0d3379a..5eca7a99afe6 100644 --- a/drivers/char/pcmcia/ipwireless/main.c +++ b/drivers/char/pcmcia/ipwireless/main.c | |||
@@ -49,7 +49,7 @@ static void ipwireless_detach(struct pcmcia_device *link); | |||
49 | /* Debug mode: more verbose, print sent/recv bytes */ | 49 | /* Debug mode: more verbose, print sent/recv bytes */ |
50 | int ipwireless_debug; | 50 | int ipwireless_debug; |
51 | int ipwireless_loopback; | 51 | int ipwireless_loopback; |
52 | int ipwireless_out_queue = 1; | 52 | int ipwireless_out_queue = 10; |
53 | 53 | ||
54 | module_param_named(debug, ipwireless_debug, int, 0); | 54 | module_param_named(debug, ipwireless_debug, int, 0); |
55 | module_param_named(loopback, ipwireless_loopback, int, 0); | 55 | module_param_named(loopback, ipwireless_loopback, int, 0); |
@@ -57,7 +57,7 @@ module_param_named(out_queue, ipwireless_out_queue, int, 0); | |||
57 | MODULE_PARM_DESC(debug, "switch on debug messages [0]"); | 57 | MODULE_PARM_DESC(debug, "switch on debug messages [0]"); |
58 | MODULE_PARM_DESC(loopback, | 58 | MODULE_PARM_DESC(loopback, |
59 | "debug: enable ras_raw channel [0]"); | 59 | "debug: enable ras_raw channel [0]"); |
60 | MODULE_PARM_DESC(out_queue, "debug: set size of outgoing queue [1]"); | 60 | MODULE_PARM_DESC(out_queue, "debug: set size of outgoing PPP queue [10]"); |
61 | 61 | ||
62 | /* Executes in process context. */ | 62 | /* Executes in process context. */ |
63 | static void signalled_reboot_work(struct work_struct *work_reboot) | 63 | static void signalled_reboot_work(struct work_struct *work_reboot) |
diff --git a/drivers/char/pcmcia/ipwireless/network.c b/drivers/char/pcmcia/ipwireless/network.c index 28d9fd727d84..2b07af05106d 100644 --- a/drivers/char/pcmcia/ipwireless/network.c +++ b/drivers/char/pcmcia/ipwireless/network.c | |||
@@ -75,7 +75,7 @@ static void notify_packet_sent(void *callback_data, unsigned int packet_length) | |||
75 | spin_unlock_irqrestore(&network->lock, flags); | 75 | spin_unlock_irqrestore(&network->lock, flags); |
76 | ppp_output_wakeup(network->ppp_channel); | 76 | ppp_output_wakeup(network->ppp_channel); |
77 | if (ipwireless_debug) | 77 | if (ipwireless_debug) |
78 | printk(KERN_INFO IPWIRELESS_PCCARD_NAME | 78 | printk(KERN_DEBUG IPWIRELESS_PCCARD_NAME |
79 | ": ppp unblocked\n"); | 79 | ": ppp unblocked\n"); |
80 | } else | 80 | } else |
81 | spin_unlock_irqrestore(&network->lock, flags); | 81 | spin_unlock_irqrestore(&network->lock, flags); |
@@ -144,6 +144,8 @@ static int ipwireless_ppp_start_xmit(struct ppp_channel *ppp_channel, | |||
144 | */ | 144 | */ |
145 | network->ppp_blocked = 1; | 145 | network->ppp_blocked = 1; |
146 | spin_unlock_irqrestore(&network->lock, flags); | 146 | spin_unlock_irqrestore(&network->lock, flags); |
147 | if (ipwireless_debug) | ||
148 | printk(KERN_DEBUG IPWIRELESS_PCCARD_NAME ": ppp blocked\n"); | ||
147 | return 0; | 149 | return 0; |
148 | } | 150 | } |
149 | } | 151 | } |