diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2015-07-09 12:27:22 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-07-21 18:01:35 +0300 |
commit | 92cd40322848a12f1f3ef2d7804233b93030c532 (patch) | |
tree | 5fc8a73846b471994657a78ae311fdfc7c6f19d6 /drivers/net/wireless/ti/wl1251/rx.h | |
parent | 77661208a87b458f353fd0b7a4729cf2887449a6 (diff) |
ath9k: fix moredata flag endianness in cabq tx
While compiling ath9k with some extra flags I've
found that:
ath9k/xmit.c +2473 ## 16: warning: restricted __le16 degrades to integer
ath9k/xmit.c +2474 ## 36: warning: invalid assignment: &=
ath9k/xmit.c +2474 ## 36: left side has type restricted __le16
ath9k/xmit.c +2474 ## 36: right side has type int
There's no way for frame ftype/stype to be
mistreated as the offending 'moredata' flag when
considering cab queue.
This could've however theoretically led sometimes
to increased power consumption on connected
stations as they would keep their Rx active
waiting for frames that would never come.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti/wl1251/rx.h')
0 files changed, 0 insertions, 0 deletions