Staging: vt6655: CGI/CSI confusion in device_ioctl()
The wrong messages were printed Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ec8f002e6d
commit
646755ad91
@@ -3328,7 +3328,7 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SIOCSIWTXPOW:
|
case SIOCSIWTXPOW:
|
||||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCGIWTXPOW \n");
|
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCSIWTXPOW \n");
|
||||||
rc = -EOPNOTSUPP;
|
rc = -EOPNOTSUPP;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -3406,7 +3406,7 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
|
|||||||
// Get the spy list
|
// Get the spy list
|
||||||
case SIOCGIWSPY:
|
case SIOCGIWSPY:
|
||||||
|
|
||||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCSIWSPY \n");
|
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCGIWSPY \n");
|
||||||
rc = -EOPNOTSUPP;
|
rc = -EOPNOTSUPP;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user