Jean Tourrilhes wrote:
Dan Williams wrote :
Completely untested, not entirely sure it compiles. For whatever
reason, softmac is sending custom events to userspace already, but it
should _really_ be sending the right WEXT events instead. Comments? If
this looks good, please apply it.
Good catch ! Thanks for the excellent work !
I'm just puzzled about how SoftMAC was working with
wpa_supplicant, as wpa_supplicant expect the standard
events. Actually, maybe the answer is that it did not work...
Sometimes SoftMAC works with wpa_supplicant and sometimes not. When I switched from a Linksys WRT54G
V1 to a V5, it stopped working.
When I installed the patch, it would not compile. The warnings and errors are
shown below:
CC [M] net/ieee80211/softmac/ieee80211softmac_event.o
net/ieee80211/softmac/ieee80211softmac_event.c: In function
‘ieee80211softmac_call_events_locked’:
net/ieee80211/softmac/ieee80211softmac_event.c:144: warning: passing argument 2 of
‘__constant_memcpy3d’ makes pointer from integer without a cast
net/ieee80211/softmac/ieee80211softmac_event.c:144: warning: passing argument 2 of ‘__memcpy3d’
makes pointer from integer without a cast
net/ieee80211/softmac/ieee80211softmac_event.c:150: error: incompatible type for argument 1 of
‘__constant_c_and_count_memset’
net/ieee80211/softmac/ieee80211softmac_event.c:150: error: incompatible type for argument 1 of
‘__constant_c_memset’
net/ieee80211/softmac/ieee80211softmac_event.c:150: error: incompatible type for argument 1 of
‘__memset_generic’
net/ieee80211/softmac/ieee80211softmac_event.c:150: error: incompatible type for argument 1 of
‘__memset_generic’
net/ieee80211/softmac/ieee80211softmac_event.c:158: warning: passing argument 4 of
‘wireless_send_event’ discards qualifiers from pointer target type
net/ieee80211/softmac/ieee80211softmac_event.c:133: warning: unused variable
‘msg’
Larry
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html