|
@@ -167,7 +167,7 @@ static void
|
|
|
ieee80211softmac_assoc_notify_scan(struct net_device *dev, int event_type, void *context)
|
|
|
{
|
|
|
struct ieee80211softmac_device *mac = ieee80211_priv(dev);
|
|
|
- ieee80211softmac_assoc_work((void*)mac);
|
|
|
+ ieee80211softmac_assoc_work(&mac->associnfo.work.work);
|
|
|
}
|
|
|
|
|
|
static void
|
|
@@ -177,7 +177,7 @@ ieee80211softmac_assoc_notify_auth(struct net_device *dev, int event_type, void
|
|
|
|
|
|
switch (event_type) {
|
|
|
case IEEE80211SOFTMAC_EVENT_AUTHENTICATED:
|
|
|
- ieee80211softmac_assoc_work((void*)mac);
|
|
|
+ ieee80211softmac_assoc_work(&mac->associnfo.work.work);
|
|
|
break;
|
|
|
case IEEE80211SOFTMAC_EVENT_AUTH_FAILED:
|
|
|
case IEEE80211SOFTMAC_EVENT_AUTH_TIMEOUT:
|