git: wlan: Let driver holds WLAN serializer for ieee80211_ifattach

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Feb 10 01:53:24 PST 2015


commit c37355b9d9aaad88802713b024c1c2e63cf03f3c
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Feb 10 17:47:21 2015 +0800

    wlan: Let driver holds WLAN serializer for ieee80211_ifattach
    
    Looks like almost all building drivers (except, ndis(4) and wpi(4))
    hold WLAN serializer for ieee80211_ifattach(), so we release the
    WLAN serializer in ieee80211_ifattach() before the if_attach().
    
    This reverts 4109d03b12096f353e4036119a0d6357fa1ec67e and
    part of a583ece6b440118aa26f3eb162a1df7f2821f923.
    
    Reported-by: marino@

Summary of changes:
 sys/dev/netif/ath/ath/if_ath.c       |  9 +--------
 sys/dev/netif/iwn/if_iwn.c           |  6 ------
 sys/dev/netif/ndis/if_ndis.c         |  3 +++
 sys/dev/netif/wpi/if_wpi.c           |  3 +++
 sys/netproto/802_11/wlan/ieee80211.c | 12 ++++++------
 5 files changed, 13 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c37355b9d9aaad88802713b024c1c2e63cf03f3c


-- 
DragonFly BSD source repository



More information about the Commits mailing list