FreeBSD Bugzilla – Attachment 157461 Details for
Bug 200672
[patch] wpa_supplicant(8): handle RTM_IEEE80211_RADIO event
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Convert RTM_IEEE80211_RADIO to EVENT_INTERFACE_DISABLED / ENABLED
patch-wpa_supplicant-radio.diff (text/plain), 875 bytes, created by
Andriy Voskoboinyk
on 2015-06-06 09:32:34 UTC
(
hide
)
Description:
Convert RTM_IEEE80211_RADIO to EVENT_INTERFACE_DISABLED / ENABLED
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2015-06-06 09:32:34 UTC
Size:
875 bytes
patch
obsolete
>Index: contrib/wpa/src/drivers/driver_bsd.c >=================================================================== >--- contrib/wpa/src/drivers/driver_bsd.c (revision 284049) >+++ contrib/wpa/src/drivers/driver_bsd.c (working copy) >@@ -1193,7 +1193,8 @@ > struct ieee80211_michael_event *mic; > struct ieee80211_leave_event *leave; > struct ieee80211_join_event *join; >- int n; >+ struct ieee80211_radio_event *radio; >+ int n, state; > > n = read(sock, drv->event_buf, drv->event_buf_len); > if (n < 0) { >@@ -1277,6 +1278,13 @@ > wpa_supplicant_event(ctx, EVENT_MICHAEL_MIC_FAILURE, > &event); > break; >+ case RTM_IEEE80211_RADIO: >+ radio = (struct ieee80211_radio_event *) &ifan[1]; >+ state = radio->iev_state == 1 ? >+ EVENT_INTERFACE_ENABLED : >+ EVENT_INTERFACE_DISABLED; >+ wpa_supplicant_event(ctx, state, NULL); >+ break; > } > break; > case RTM_IFINFO:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200672
: 157461