]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a35cdc06ca6a784a490ba0adbc01fc9d4357cd7
treee38604708026f2c48475651dc8d59cb8afb61d04
parentf30fe249f83b6ec18ec4e02936c8ee8431ddacc0
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