diff options
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_event.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_event.c b/net/ieee80211/softmac/ieee80211softmac_event.c index 5bdd5edd432c..8cc8f3f0f8e7 100644 --- a/net/ieee80211/softmac/ieee80211softmac_event.c +++ b/net/ieee80211/softmac/ieee80211softmac_event.c | |||
@@ -152,6 +152,12 @@ ieee80211softmac_call_events_locked(struct ieee80211softmac_device *mac, int eve | |||
152 | wrqu.ap_addr.sa_family = ARPHRD_ETHER; | 152 | wrqu.ap_addr.sa_family = ARPHRD_ETHER; |
153 | we_event = SIOCGIWAP; | 153 | we_event = SIOCGIWAP; |
154 | break; | 154 | break; |
155 | case IEEE80211SOFTMAC_EVENT_SCAN_FINISHED: | ||
156 | wrqu.data.length = 0; | ||
157 | wrqu.data.flags = 0; | ||
158 | memset(&wrqu, '\0', sizeof (union iwreq_data)); | ||
159 | we_event = SIOCGIWSCAN; | ||
160 | break; | ||
155 | default: | 161 | default: |
156 | msg = event_descriptions[event]; | 162 | msg = event_descriptions[event]; |
157 | wrqu.data.length = strlen(msg); | 163 | wrqu.data.length = strlen(msg); |