zd1211rw: honour enable_beacon conf
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Feb 2009 20:25:39 +0000 (21:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Feb 2009 18:45:22 +0000 (13:45 -0500)
commita4727801004f255f589478b2d75ec00f0a9e30c5
tree9998b3e43308ea98e86a51124177a683ada3dcf6
parent5e1333624827e7a91b2d2cc04ce978f050cae15e
zd1211rw: honour enable_beacon conf

This makes zd1211rw honour enable_beacon, as well as fixing
a memory leak: the beacon skb is leaked when configuring it
to the hardware fails.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_mac.c