diff options
author | Guido Guenther <agx@sigxcpu.org> | 2007-01-08 22:41:56 +0100 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-01-08 22:41:56 +0100 |
commit | a7fee4bb6e506f19c72db1ad5aa69b0281f20d5d (patch) | |
tree | cd35bc7412f39f362835979d4b21ef78138be0c5 /at76c503.c | |
parent | 0f0eaabaf8d22c50d9664bda3e5a83ae9dbd1337 (diff) |
#ifdef-out assertions
Diffstat (limited to 'at76c503.c')
-rw-r--r-- | at76c503.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |