Drivers:net:wireless:ti:wl1251: Fixed Sparse invalid assignment warning
authorSurendra Patil <surendra.tux@gmail.com>
Tue, 4 Mar 2014 08:18:52 +0000 (00:18 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Mar 2014 18:28:36 +0000 (13:28 -0500)
commit76be3434f4150b282470bf71cd4aa0c82b29d603
tree6fbdeb23c6138e0df7602b67f1c33dc3888c8038
parenta619d1abe20cc892ddd8f6f60345b24d43971fb4
Drivers:net:wireless:ti:wl1251: Fixed Sparse invalid assignment warning

Sparse warns about invalid assignment in
drivers/net/wireless/ti/wl1251/cmd.c:451:42: warning: invalid assignment: |=
drivers/net/wireless/ti/wl1251/cmd.c:451:42:    left side has type restricted __le16
drivers/net/wireless/ti/wl1251/cmd.c:451:42:    right side has type int
Hence type converted right side to __le16.

Signed-off-by: Surendra Patil <surendra.tux@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl1251/cmd.c