commit | 6fe864409b54f60ed36804752acfd148da459e53 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Jun 09 20:05:16 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jun 12 10:52:32 2012 -0700 |
tree | ec25ce682c5d436720eca30c174d8900289b5552 | |
parent | 0cf5755f00f555d7cef4a7be0ae5aac5e4bdf07d [diff] |
Staging: rtl8187se, rtl8192e: fix '&' vs '|' bugs The original code is equivalent to: wrqu->retry.flags = 0x1000 & 0x0002; so it just sets .flags to zero. We should be ORing the values together like r8192_wx_get_retry() does in drivers/staging/rtl8192u/r8192U_wx.c. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>