]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 2 Apr 2012 16:52:10 +0000 (09:52 -0700)
commit35e95b11598a156121aa2d35cdec7e2994eafa83
treeeb4f93e4f14415c717819c57a2b86aebf847874d
parent5856307bd35ec6586ee6fa513ee32516cacb7ff6
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