diff options
-rw-r--r-- | include/net/iw_handler.h | 2 | ||||
-rw-r--r-- | net/wireless/wext.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h index 51b9a37de991..2b3fbbb8669e 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, | |||
443 | extern void wireless_send_event(struct net_device * dev, | 443 | extern void wireless_send_event(struct net_device * dev, |
444 | unsigned int cmd, | 444 | unsigned int cmd, |
445 | union iwreq_data * wrqu, | 445 | union iwreq_data * wrqu, |
446 | char * extra); | 446 | const char * extra); |
447 | 447 | ||
448 | /* We may need a function to send a stream of events to user space. | 448 | /* We may need a function to send a stream of events to user space. |
449 | * More on that later... */ | 449 | * More on that later... */ |
diff --git a/net/wireless/wext.c b/net/wireless/wext.c index 5da07e079c20..425f7d58b961 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) | |||
1376 | void wireless_send_event(struct net_device * dev, | 1376 | void wireless_send_event(struct net_device * dev, |
1377 | unsigned int cmd, | 1377 | unsigned int cmd, |
1378 | union iwreq_data * wrqu, | 1378 | union iwreq_data * wrqu, |
1379 | char * extra) | 1379 | const char * extra) |
1380 | { | 1380 | { |
1381 | const struct iw_ioctl_description * descr = NULL; | 1381 | const struct iw_ioctl_description * descr = NULL; |
1382 | int extra_len = 0; | 1382 | int extra_len = 0; |