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>
Mon, 2 Apr 2012 17:32:10 +0000 (10:32 -0700)
commit2d11e9dbfde8babe45fc7855a445f120c102345e
treeb112c5f79a302109c276e4558f5de9d862a98515
parentf5ba9c849e393be3b3a220248b596cebcabe6999
staging: r8712u: Add missing initialization and remove configuration parameter CONFIG_R8712_AP

commit 073863432f7eaa23c7c09733414d4be2eabf5eef upstream.

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>
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