2 * Copyright 2002-2004, Instant802 Networks, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include <linux/config.h>
10 #include <linux/netdevice.h>
11 #include <linux/types.h>
13 #ifdef CONFIG_OAP_LEDS_WLAN
14 extern void leds_wlan_set(int unit
, int tx
, int state
);
17 void ieee80211_rx_led(int state
, struct net_device
*dev
) {
18 #ifdef CONFIG_OAP_LEDS_WLAN
19 static unsigned int count
= 0;
22 leds_wlan_set(0, 0, (++count
) & 1);
27 void ieee80211_tx_led(int state
, struct net_device
*dev
) {
28 #ifdef CONFIG_OAP_LEDS_WLAN
29 leds_wlan_set(0, 1, state
);
This page took 0.044449 seconds and 5 git commands to generate.