summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/wext.c
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2009-08-05 21:23:31 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 09:12:44 -0400
commit2b2603515e26466685895e93cae59bc061389f11 (patch)
tree913d4d324c1fa19f65bb7b4bc17fedbde9867904 /drivers/net/wireless/orinoco/wext.c
parent07542d08ee573b6d8281f38430117b52fccaf50a (diff)
downloadblackbird-op-linux-2b2603515e26466685895e93cae59bc061389f11.tar.gz
blackbird-op-linux-2b2603515e26466685895e93cae59bc061389f11.zip
orinoco: add function to retrieve current bssid
We will need this from the cfg80211 disassociate call. Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/wext.c')
-rw-r--r--drivers/net/wireless/orinoco/wext.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco/wext.c b/drivers/net/wireless/orinoco/wext.c
index f324bf919bc8..f68bbe383e0f 100644
--- a/drivers/net/wireless/orinoco/wext.c
+++ b/drivers/net/wireless/orinoco/wext.c
@@ -156,7 +156,6 @@ static int orinoco_ioctl_getwap(struct net_device *dev,
{
struct orinoco_private *priv = ndev_priv(dev);
- hermes_t *hw = &priv->hw;
int err = 0;
unsigned long flags;
@@ -164,8 +163,7 @@ static int orinoco_ioctl_getwap(struct net_device *dev,
return -EBUSY;
ap_addr->sa_family = ARPHRD_ETHER;
- err = hermes_read_ltv(hw, USER_BAP, HERMES_RID_CURRENTBSSID,
- ETH_ALEN, NULL, ap_addr->sa_data);
+ err = orinoco_hw_get_current_bssid(priv, ap_addr->sa_data);
orinoco_unlock(priv, &flags);
OpenPOWER on IntegriCloud