Commit 5121ea04 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

wext: constify extra argument to wireless_send_event



This is never changed by the function, so can be marked const.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0575606b
...@@ -443,7 +443,7 @@ extern int dev_get_wireless_info(char * buffer, char **start, off_t offset, ...@@ -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, extern void wireless_send_event(struct net_device * dev,
unsigned int cmd, unsigned int cmd,
union iwreq_data * wrqu, union iwreq_data * wrqu,
char * extra); const char * extra);
/* We may need a function to send a stream of events to user space. /* We may need a function to send a stream of events to user space.
* More on that later... */ * More on that later... */
......
...@@ -1376,7 +1376,7 @@ static void rtmsg_iwinfo(struct net_device *dev, char *event, int event_len) ...@@ -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, void wireless_send_event(struct net_device * dev,
unsigned int cmd, unsigned int cmd,
union iwreq_data * wrqu, union iwreq_data * wrqu,
char * extra) const char * extra)
{ {
const struct iw_ioctl_description * descr = NULL; const struct iw_ioctl_description * descr = NULL;
int extra_len = 0; int extra_len = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment