| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH wireless-2.6 4/12] Host AP: Remove ioctl debug messages |
| From: | Jouni Malinen <jkmaline@xxxxxxxxx> |
| Date: | Sun, 7 Nov 2004 23:12:42 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20041108070156.GA1076@jm.kir.nu> |
| References: | <20041108070156.GA1076@jm.kir.nu> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6i |
Remove debug message from unsupported ioctls. Some of common ioctls
triggered these (e.g., SIOCGMIIPHY, SIOCGMIIREG, SIOCSMIIREG,
SIOCDEVPRIVATE) and filled debug logs with unwanted messages.
Signed-off-by: Jouni Malinen <jkmaline@xxxxxxxxx>
diff -Nru a/drivers/net/wireless/hostap/hostap_ioctl.c
b/drivers/net/wireless/hostap/hostap_ioctl.c
--- a/drivers/net/wireless/hostap/hostap_ioctl.c 2004-11-07 22:38:18
-08:00
+++ b/drivers/net/wireless/hostap/hostap_ioctl.c 2004-11-07 22:38:18
-08:00
@@ -3452,14 +3452,6 @@
break;
default:
- if (cmd >= SIOCSIWCOMMIT && cmd <= SIOCGIWPOWER) {
- /* unsupport wireless extensions get through here - do
- * not report these to debug log */
- ret = -EOPNOTSUPP;
- break;
- }
- printk(KERN_DEBUG "%s unsupported ioctl(0x%04x)\n",
- dev->name, cmd);
ret = -EOPNOTSUPP;
break;
}
--
Jouni Malinen PGP id EFC895FA
|
| Previous by Date: | [PATCH wireless-2.6 3/12] Host AP: Ignore (Re)AssocResp messages silently, Jouni Malinen |
|---|---|
| Next by Date: | [PATCH wireless-2.6 5/12] Host AP: Fix hw address changing for wifi# interface, Jouni Malinen |
| Previous by Thread: | [PATCH wireless-2.6 3/12] Host AP: Ignore (Re)AssocResp messages silently, Jouni Malinen |
| Next by Thread: | [PATCH wireless-2.6 5/12] Host AP: Fix hw address changing for wifi# interface, Jouni Malinen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |