Staging: wlan-ng: remove dependency on WIRELESS_EXT version
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 3 Jul 2009 12:25:53 +0000 (16:25 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:37 +0000 (12:01 -0700)
As the driver is in mainline now we can remove such dependency.
WIRELESS_EXT is 22 now and it is always defined.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/prism2sta.c

index 926db7cdee745d443eb5f76036593b56b987debd..50f301d652124cfcecabc8776d05c9d01e233664 100644 (file)
@@ -1444,9 +1444,7 @@ void prism2sta_processing_defer(struct work_struct *data)
        }
 
        wlandev->linkstatus = (hw->link_status == HFA384x_LINK_CONNECTED);
-#ifdef WIRELESS_EXT
        p80211wext_event_associated(wlandev, wlandev->linkstatus);
-#endif
 
 failed:
        return;