summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/iw_handler.h2
-rw-r--r--net/wireless/wext.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h
index 51b9a37de99..2b3fbbb8669 100644
--- a/include/net/iw_handler.h
+++ b/include/net/iw_handler.h
@@ -443,7 +443,7 @@ extern int dev_get_wireless_info(char * buffer, char **start, off_t offset,
extern void wireless_send_event(struct net_device * dev,
unsigned int cmd,
union iwreq_data * wrqu,
- char * extra);
+ const char * extra);
/* We may need a function to send a stream of events to user space.
* More on that later... */
diff --git a/net/wireless/wext.c b/net/wireless/wext.c
index 5da07e079c2..425f7d58b96 100644
--- a/net/wireless/wext.c
+++ b/net/wireless/wext.c
@@ -1376,7 +1376,7 @@ static void rtmsg_iwinfo(struct net_device *dev, char *event, int event_len)
void wireless_send_event(struct net_device * dev,
unsigned int cmd,
union iwreq_data * wrqu,
- char * extra)
+ const char * extra)
{
const struct iw_ioctl_description * descr = NULL;
int extra_len = 0;