]> git.karo-electronics.de Git - mv-sheeva.git/commit
staging: r8712u: Add missing initialization and remove configuration parameter CONFIG...
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 9 Feb 2012 22:37:17 +0000 (16:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2012 17:57:28 +0000 (09:57 -0800)
commit073863432f7eaa23c7c09733414d4be2eabf5eef
tree061ab864f7b686fe3ac7be7cac490dc8e044184d
parentc3b3b3f9b0efa20a123244def80698669996b8ec
staging: r8712u: Add missing initialization and remove configuration parameter CONFIG_R8712_AP

When this driver was upgraded to the vendor 20100831 version in
commit 93c55dda092c7 et al,, one listhead initialization was missed.
This broke complete operation of the driver whenever AP mode was
enabled. This fixes https://bugs.archlinux.org/task/27996.

The configuration parameter R8712_AP is misleading as the driver cannot
function as an AP without a heavily hacked version of hostapd. Thus, it
makes sense to remove the parameter; however the code and data configured
for the option is left in.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/Kconfig
drivers/staging/rtl8712/rtl871x_sta_mgt.c
drivers/staging/rtl8712/sta_info.h