Skip to content

Commit

Permalink
staging: r8712u: Fix problem when CONFIG_R8712_AP is set
Browse files Browse the repository at this point in the history
When this driver was upgraded to the vendor 20100831 version in
commit 93c55dd et al,, one listhead initialization was missed.
This broke complete operation of the driver whenever AP mode was
enabled.

This patch fixes https://bugs.archlinux.org/task/27996.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.stable.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Larry Finger authored and Greg Kroah-Hartman committed Feb 8, 2012
1 parent 44c5435 commit 4c0029f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/rtl8712/rtl871x_sta_mgt.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ static void _init_stainfo(struct sta_info *psta)
_r8712_init_sta_xmit_priv(&psta->sta_xmitpriv);
_r8712_init_sta_recv_priv(&psta->sta_recvpriv);
#ifdef CONFIG_R8712_AP
_init_listhead(&psta->asoc_list);
_init_listhead(&psta->auth_list);
#endif
}
Expand Down

0 comments on commit 4c0029f

Please sign in to comment.