Commit cea57ee6 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6655: set_channel replace void handler.



Replace with struct vnt_private.

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35eb8ecd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -174,9 +174,8 @@ void vnt_init_bands(struct vnt_private *priv)
 * Return Value: true if succeeded; false if failed.
 *
 */
bool set_channel(void *pDeviceHandler, struct ieee80211_channel *ch)
bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
{
	struct vnt_private *priv = pDeviceHandler;
	bool bResult = true;

	if (priv->byCurrentCh == ch->hw_value)
+1 −1
Original line number Diff line number Diff line
@@ -27,6 +27,6 @@

void vnt_init_bands(struct vnt_private *);

bool set_channel(void *pDeviceHandler, struct ieee80211_channel *);
bool set_channel(struct vnt_private *, struct ieee80211_channel *);

#endif /* _CHANNEL_H_ */