Skip to contentSkip to conversation

vt6655: CGI/CSI confusion in device_ioctl()

PATCH New Roel Kluin 1 participant 1 message Mar 22, 2010 Staging

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 vt6655: CGI/CSI confusion in device_ioctl()

The wrong messages were printed

---
 drivers/staging/vt6655/device_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/vt6655/device_main.c +2 -2
index 1d64365..16cfd30 100644
@@ -3327,7 +3327,7 @@ static int  device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
 		break;
 
 	case SIOCSIWTXPOW:
-        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCGIWTXPOW \n");
+        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCSIWTXPOW \n");
         rc = -EOPNOTSUPP;
 		break;
 
@@ -3405,7 +3405,7 @@ static int  device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
 		// Get the spy list
 	case SIOCGIWSPY:
 
-        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCSIWSPY \n");
+        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCGIWSPY \n");
 		rc = -EOPNOTSUPP;
 		break;