mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
wifi driver rtl8188eu: solve warning in rk3368
This commit is contained in:
@@ -753,8 +753,11 @@ int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd)
|
||||
{
|
||||
#ifdef CONFIG_LPS
|
||||
u8 dtim;
|
||||
#ifdef CONFIG_COMPAT
|
||||
u8 *ptr = compat_ptr(priv_cmd.buf);
|
||||
#else
|
||||
u8 *ptr = priv_cmd.buf;
|
||||
|
||||
#endif
|
||||
ptr += 9;//string command length of "SET_DTIM";
|
||||
|
||||
dtim = rtw_atoi(ptr);
|
||||
|
||||
Reference in New Issue
Block a user