ath6kl: move setting netdev for non-cf80211 case
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 30 Mar 2011 00:56:03 +0000 (17:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 05:58:05 +0000 (22:58 -0700)
commit1fd8d02467606a3f69118b495f6ff5dfb9749422
tree2168ce48696abd1e22d2f7ca416bed456d01c971
parent8f05c5b940f3c08d30f4298ceb7cc076dd444008
ath6kl: move setting netdev for non-cf80211 case

The check for SET_NETDEV_DEV is not required given that
this is upstream. The setting of the SET_NETDEV_DEV with
the osDevInfo.pOSDevice is redundant for the cfg80211 case
as this was already being done, so just set the netdev device
for the non-cfg80211 which was missing.

Cc: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ar6000_drv.c