[MAC80211]: Check open_count before calling config callback.
authorMichael Buesch <mb@bu3sch.de>
Mon, 24 Sep 2007 16:41:49 +0000 (18:41 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:14 +0000 (16:54 -0700)
commitf7c4daed99fba15e4e48df464031f4ac7c32e4c9
treebc696ea937c08b83a414d5572bac422f84a468cf
parent05b64b364822863974c0121359b01d7ba0f22205
[MAC80211]: Check open_count before calling config callback.

Also remove the check for ops->config!=NULL, as it can never be NULL.

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