ath9k_htc: fix rs_datalen conversation
For some reason it didn't coused obvious problems. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
46140ddf16
commit
525d09456b
|
@ -946,7 +946,7 @@ static inline void convert_htc_flag(struct ath_rx_status *rx_stats,
|
|||
static void rx_status_htc_to_ath(struct ath_rx_status *rx_stats,
|
||||
struct ath_htc_rx_status *rxstatus)
|
||||
{
|
||||
rx_stats->rs_datalen = rxstatus->rs_datalen;
|
||||
rx_stats->rs_datalen = be16_to_cpu(rxstatus->rs_datalen);
|
||||
rx_stats->rs_status = rxstatus->rs_status;
|
||||
rx_stats->rs_phyerr = rxstatus->rs_phyerr;
|
||||
rx_stats->rs_rssi = rxstatus->rs_rssi;
|
||||
|
|
Loading…
Reference in New Issue