wlcore/wl18xx/wl12xx: convert bitmaps to unsigned longs
The *_bit operations expect unsigned longs. Instead of casting the pointers, simply define various bitmaps as unsigned long (instead of u32). Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
这个提交包含在:
@@ -1668,7 +1668,7 @@ static bool wl12xx_lnk_high_prio(struct wl1271 *wl, u8 hlid,
|
||||
{
|
||||
u8 thold;
|
||||
|
||||
if (test_bit(hlid, (unsigned long *)&wl->fw_fast_lnk_map))
|
||||
if (test_bit(hlid, &wl->fw_fast_lnk_map))
|
||||
thold = wl->conf.tx.fast_link_thold;
|
||||
else
|
||||
thold = wl->conf.tx.slow_link_thold;
|
||||
|
在新工单中引用
屏蔽一个用户