Added 2.3/4 fix for the "unknown mode" bug fix.

This commit is contained in:
mark 2000-08-13 05:01:30 +00:00
parent 36b94786a6
commit a8914038da
1 changed files with 4 additions and 0 deletions

View File

@ -393,7 +393,11 @@ int p80211knetdev_hard_start_xmit( struct sk_buff *skb, netdevice_t *netdev)
default:
/* Mode isn't set yet, just drop the frame and return success */
/* TODO: we need a saner way to handle this */
#if (LINUX_VERSION_CODE < WLAN_KVERSION(2,3,38) )
netdev->tbusy = 0;
#else
netif_wake_queue(netdev);
#endif
dev_kfree_skb(skb);
WLAN_LOG_NOTICE0("Tx attempt prior to association, frame dropped.\n");
return 0;