summaryrefslogtreecommitdiffstats
path: root/sys/dev/ral
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-07-10 22:25:44 +0000
committersam <sam@FreeBSD.org>2005-07-10 22:25:44 +0000
commit6d86e52425b9f58cf008209ca788b1475811f5f3 (patch)
tree8ba338a9171ea0361aee94dd7da152bd951fdb40 /sys/dev/ral
parente80ad620264a9732f89869770c5cecf52b0ddc32 (diff)
downloadFreeBSD-src-6d86e52425b9f58cf008209ca788b1475811f5f3.zip
FreeBSD-src-6d86e52425b9f58cf008209ca788b1475811f5f3.tar.gz
remove local mods that snuck into rev 1.6
Approved by: re (scottl implicit)
Diffstat (limited to 'sys/dev/ral')
-rw-r--r--sys/dev/ral/if_ral.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ral/if_ral.c b/sys/dev/ral/if_ral.c
index 4a26c6c..11a2ea1 100644
--- a/sys/dev/ral/if_ral.c
+++ b/sys/dev/ral/if_ral.c
@@ -63,7 +63,6 @@ __FBSDID("$FreeBSD$");
#include <dev/ral/if_ralreg.h>
#include <dev/ral/if_ralvar.h>
-#define RAL_DEBUG
#ifdef RAL_DEBUG
#define DPRINTF(x) do { if (ral_debug > 0) printf x; } while (0)
#define DPRINTFN(n, x) do { if (ral_debug >= (n)) printf x; } while (0)
@@ -1006,10 +1005,8 @@ ral_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
case IEEE80211_S_RUN:
ral_set_chan(sc, ic->ic_bss->ni_chan);
- if (ic->ic_opmode != IEEE80211_M_MONITOR) {
+ if (ic->ic_opmode != IEEE80211_M_MONITOR)
ral_set_bssid(sc, ic->ic_bss->ni_bssid);
- ral_update_slot(ic->ic_ifp);
- }
if (ic->ic_opmode == IEEE80211_M_HOSTAP ||
ic->ic_opmode == IEEE80211_M_IBSS) {
OpenPOWER on IntegriCloud