diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-01-19 18:24:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 19:59:16 +0800 |
commit | 63e8d787b0bbfc9bfca6d7ecdeb6548e6baa6f9e (patch) | |
tree | a746ba4f7328bf2e25b0bed25c910b8c8fe00682 /drivers/staging/vt6655/channel.c | |
parent | d7a4cfa8c18c5622da0bf87661963e13cc3de9b0 (diff) | |
download | linux-63e8d787b0bbfc9bfca6d7ecdeb6548e6baa6f9e.tar.bz2 |
staging: vt6655: common variable size channel numbers to ieee80211_channel->hw_value
hw_value is u16 so fix all to the same size.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/channel.c')
-rw-r--r-- | drivers/staging/vt6655/channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/channel.c b/drivers/staging/vt6655/channel.c index 3fc09f4b3842..3c17725d5910 100644 --- a/drivers/staging/vt6655/channel.c +++ b/drivers/staging/vt6655/channel.c @@ -197,11 +197,11 @@ bool set_channel(void *pDeviceHandler, struct ieee80211_channel *ch) if (pDevice->byRFType == RF_AIROHA7230) RFbAL7230SelectChannelPostProcess(pDevice, pDevice->byCurrentCh, - (unsigned char)ch->hw_value); + ch->hw_value); - pDevice->byCurrentCh = (unsigned char)ch->hw_value; + pDevice->byCurrentCh = ch->hw_value; bResult &= RFbSelectChannel(pDevice, pDevice->byRFType, - (unsigned char)ch->hw_value); + ch->hw_value); /* Init Synthesizer Table */ if (pDevice->bEnablePSMode) |