staging: wlan-ng: Fix incorrect type in assignments
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Sat, 25 Oct 2014 10:16:42 +0000 (13:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2014 07:41:43 +0000 (15:41 +0800)
commitf474f5e5353d9a935833b69d029db4856b6bd6e9
treea93c0b6a87683c2156f9152684365e320bf9b0dc
parentbe40a5e29e3eba9c5628512b6f991ab6822a3f04
staging: wlan-ng: Fix incorrect type in assignments

fc variable type was u16 and it has an assignment
from cpu_to_le16() so its type changed as __le16.
This bug found by sparse.

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211conv.c
drivers/staging/wlan-ng/p80211hdr.h