aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ral
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2005-07-10 22:25:44 +0000
committerSam Leffler <sam@FreeBSD.org>2005-07-10 22:25:44 +0000
commit5305063bdf10c069cd1fdb9fd0860a42b1d70008 (patch)
tree8ba338a9171ea0361aee94dd7da152bd951fdb40 /sys/dev/ral
parentcb6a66e1e9d84f4a2eaa4478fa76982c01f48086 (diff)
Notes
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 4a26c6c03aa6..11a2ea194ce3 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) {