rndis_wlan: harmless issue calling set_bit()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 May 2015 08:37:50 +0000 (11:37 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 May 2015 10:55:04 +0000 (13:55 +0300)
commite3958e9d60b4570fff709f397ef5c6b8483f40f7
tree659525276edc3233a4300917e7c23276eb75a7e5
parent191f1aeeb93bb58e56f4d1868294ae22f3f67d4e
rndis_wlan: harmless issue calling set_bit()

These are used like:

set_bit(WORK_LINK_UP, &priv->work_pending);

The problem is that set_bit() takes the actual bit number and not a mask
so static checkers get upset.  It doesn't affect run time because we do
it consistently, but we may as well clean it up.

Fixes: 6010ce07a66c ('rndis_wlan: do link-down state change in worker thread')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rndis_wlan.c