aboutsummaryrefslogtreecommitdiff
path: root/at76c503.c
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-01-08 22:41:56 +0100
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-01-08 22:41:56 +0100
commita7fee4bb6e506f19c72db1ad5aa69b0281f20d5d (patch)
treecd35bc7412f39f362835979d4b21ef78138be0c5 /at76c503.c
parent0f0eaabaf8d22c50d9664bda3e5a83ae9dbd1337 (diff)
#ifdef-out assertions
Diffstat (limited to 'at76c503.c')
-rw-r--r--at76c503.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/at76c503.c b/at76c503.c
index 3a3a74c..2a8c40b 100644
--- a/at76c503.c
+++ b/at76c503.c
@@ -2069,8 +2069,10 @@ static void handle_mgmt_timeout_scan(struct at76c503 *dev)
/* report the end of scan to user space */
iwevent_scan_complete(dev->netdev);
NEW_STATE(dev,JOINING);
+#if 0
assert(dev->curr_bss == NULL); /* done in free_bss_list,
find_bss will start with first bss */
+#endif
/* call join_bss immediately after
re-run of all other threads in kevent */
defer_kevent(dev,KEVENT_JOIN);
@@ -2807,7 +2809,9 @@ end_join:
if (test_bit(KEVENT_RESTART, &dev->kevent_flags)) {
clear_bit(KEVENT_RESTART, &dev->kevent_flags);
LOCK_ISTATE()
+#if 0
assert(dev->istate == INIT);
+#endif
UNLOCK_ISTATE()
startup_device(dev);