[PATCH] softmac: fix build-break from 881ee6999d66c8fc903b429b73bbe6045b38c549
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Jun 2006 20:34:29 +0000 (16:34 -0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 5 Jul 2006 17:42:58 +0000 (13:42 -0400)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/softmac/ieee80211softmac_assoc.c

index 7f6ef0eee0baf7e08c598d52f588470cb81489f3..44215ce64d4e9db3c9abb54edbfd35c154590bfd 100644 (file)
@@ -303,7 +303,7 @@ ieee80211softmac_assoc_work(void *d)
                dprintk(KERN_INFO PFX "Already requested authentication, waiting...\n");
                if(!mac->associnfo.assoc_wait) {
                        mac->associnfo.assoc_wait = 1;
-                       ieee80211softmac_notify_internal(mac, IEEE80211SOFTMAC_EVENT_ANY, found, ieee80211softmac_assoc_notify, NULL, GFP_KERNEL);
+                       ieee80211softmac_notify_internal(mac, IEEE80211SOFTMAC_EVENT_ANY, found, ieee80211softmac_assoc_notify_auth, NULL, GFP_KERNEL);
                }
                return;
        }
@@ -314,7 +314,7 @@ ieee80211softmac_assoc_work(void *d)
                        if(!mac->associnfo.assoc_wait) {
                                dprintk(KERN_INFO PFX "Cannot associate without being authenticated, requested authentication\n");
                                mac->associnfo.assoc_wait = 1;
-                               ieee80211softmac_notify_internal(mac, IEEE80211SOFTMAC_EVENT_ANY, found, ieee80211softmac_assoc_notify, NULL, GFP_KERNEL);
+                               ieee80211softmac_notify_internal(mac, IEEE80211SOFTMAC_EVENT_ANY, found, ieee80211softmac_assoc_notify_auth, NULL, GFP_KERNEL);
                        }
                } else {
                        printkl(KERN_WARNING PFX "Not authenticated, but requesting authentication failed. Giving up to associate\n");