mac80211: Fix initial hardware configuration
authorMichael Buesch <mb@bu3sch.de>
Sun, 10 Feb 2008 13:16:52 +0000 (14:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Feb 2008 18:44:19 +0000 (13:44 -0500)
commitceffefd15aac78841432230627308b8a382dbcfc
treee38604708026f2c48475651dc8d59cb8afb61d04
parentdb433febbadaf1fa9862fb5068b119be1d312d76
mac80211: Fix initial hardware configuration

On the initial device-open we need to defer the hardware reconfiguration
after we incremented the open_count, because the hw_config checks this flag
and won't call the lowlevel driver in case it is zero.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211.c